summaryrefslogtreecommitdiffstats
path: root/source/x/x11/arch.use.flags
blob: 0e30c3eeb03e39a1fc99091226f8eda9dedc1a84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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