summaryrefslogtreecommitdiffstats
path: root/testing/source/xf86-video-nouveau/arch.use.flags
diff options
context:
space:
mode:
Diffstat (limited to 'testing/source/xf86-video-nouveau/arch.use.flags')
-rw-r--r--testing/source/xf86-video-nouveau/arch.use.flags7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/source/xf86-video-nouveau/arch.use.flags b/testing/source/xf86-video-nouveau/arch.use.flags
new file mode 100644
index 000000000..f28a6ccab
--- /dev/null
+++ b/testing/source/xf86-video-nouveau/arch.use.flags
@@ -0,0 +1,7 @@
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+fi