summaryrefslogtreecommitdiff
path: root/patches/source/xorg-server/arch.use.flags
blob: f28a6ccabefab196c884b6e02c4be992fb78a88a (plain)
1
2
3
4
5
6
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