summaryrefslogblamecommitdiffstats
path: root/source/x/x11/arch.use.flags
blob: eb8fbb71f277a37f80f4c633ba1a376d20d6c542 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                         

                                         

                                         




                                 
if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i586" ]; then
  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "s390" ]; then
  SLKCFLAGS="-O2"
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
fi