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