2009-08-26 10:00:38 -05:00
|
|
|
if [ "$ARCH" = "i486" ]; then
|
2021-01-17 23:48:59 +00:00
|
|
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686 -fcommon"
|
2016-06-30 20:26:57 +00:00
|
|
|
elif [ "$ARCH" = "i586" ]; then
|
2021-01-17 23:48:59 +00:00
|
|
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fcommon"
|
2018-05-28 19:12:29 +00:00
|
|
|
elif [ "$ARCH" = "i686" ]; then
|
2021-01-17 23:48:59 +00:00
|
|
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686 -fcommon"
|
2009-08-26 10:00:38 -05:00
|
|
|
elif [ "$ARCH" = "s390" ]; then
|
2021-01-17 23:48:59 +00:00
|
|
|
SLKCFLAGS="-O2 -fcommon"
|
2009-08-26 10:00:38 -05:00
|
|
|
elif [ "$ARCH" = "x86_64" ]; then
|
2021-01-17 23:48:59 +00:00
|
|
|
SLKCFLAGS="-O2 -fPIC -fcommon"
|
2009-08-26 10:00:38 -05:00
|
|
|
fi
|