diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2022-03-02 07:33:56 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-03 16:25:43 +0700 |
commit | c37a0eb667258630c2843ba4350df49dc0800239 (patch) | |
tree | d2f21caaf662115a5043b051fc187664b99ebd0f /network/proxytunnel | |
parent | 6ae324550de7a4ebf4a2605b1342050ac4b88b7b (diff) |
network/proxytunnel: Add -fcommon to CFLAGS.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/proxytunnel')
-rw-r--r-- | network/proxytunnel/proxytunnel.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/network/proxytunnel/proxytunnel.SlackBuild b/network/proxytunnel/proxytunnel.SlackBuild index d8afa8ef802d1..1a1a50f8a0348 100644 --- a/network/proxytunnel/proxytunnel.SlackBuild +++ b/network/proxytunnel/proxytunnel.SlackBuild @@ -8,13 +8,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=proxytunnel VERSION=${VERSION:-1.9.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -32,8 +32,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -61,7 +61,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -make CFLAGS+="$SLKCFLAGS" LDFLAGS+="-lcrypto -lssl" +make CFLAGS+="$SLKCFLAGS -fcommon" LDFLAGS+="-lcrypto -lssl" make install PREFIX=/usr MANDIR=/usr/man DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ |