summaryrefslogtreecommitdiff
path: root/patches/source/libXext/arch.use.flags
blob: 11087c884e21081cad19ae88345fd298ac1bd8fb (plain)
1
2
3
4
5
6
7
8
9
if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i586" ]; then
  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "s390" ]; then
  SLKCFLAGS="-O2"
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
fi