summaryrefslogtreecommitdiff
path: root/source/n/ncftp
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/ncftp')
-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 6a64eb64..cde0f30d 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"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fcommon"
elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
+ SLKCFLAGS="-O2 -fcommon"
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -fPIC -fcommon"
else
- SLKCFLAGS="-O2"
+ SLKCFLAGS="-O2 -fcommon"
fi
TMP=${TMP:-/tmp}