summaryrefslogtreecommitdiffstats
path: root/source/n/ncftp/ncftp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/ncftp/ncftp.SlackBuild')
-rwxr-xr-xsource/n/ncftp/ncftp.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/n/ncftp/ncftp.SlackBuild b/source/n/ncftp/ncftp.SlackBuild
index a749c0eb2..2daf6f2c1 100755
--- a/source/n/ncftp/ncftp.SlackBuild
+++ b/source/n/ncftp/ncftp.SlackBuild
@@ -47,13 +47,13 @@ fi
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fcommon"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fcommon -std=gnu90"
elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2 -fcommon"
+ SLKCFLAGS="-O2 -fcommon -std=gnu90"
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC -fcommon"
+ SLKCFLAGS="-O2 -fPIC -fcommon -std=gnu90"
else
- SLKCFLAGS="-O2 -fcommon"
+ SLKCFLAGS="-O2 -fcommon -std=gnu90"
fi
TMP=${TMP:-/tmp}