slackware-current/source/x/x11/arch.use.flags

8 lines
345 B
Text
Raw Normal View History

if [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=pentium4 -mtune=generic -mstackrealign -fcommon -Wno-error=incompatible-pointer-types"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -march=x86-64 -mtune=generic -fPIC -Wno-error=incompatible-pointer-types"
else
SLKCFLAGS="-O2 -fPIC -fcommon -Wno-error=incompatible-pointer-types"
fi