diff options
Diffstat (limited to 'patches/source/xorg-server/arch.use.flags')
-rw-r--r-- | patches/source/xorg-server/arch.use.flags | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/source/xorg-server/arch.use.flags b/patches/source/xorg-server/arch.use.flags new file mode 100644 index 000000000..0e30c3eeb --- /dev/null +++ b/patches/source/xorg-server/arch.use.flags @@ -0,0 +1,11 @@ +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686 -fcommon" +elif [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fcommon" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686 -fcommon" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2 -fcommon" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC -fcommon" +fi |