diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2022-03-02 05:27:32 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-03 16:25:42 +0700 |
commit | 521e30bc4ee7b25151e14d7565b9a8963dffc806 (patch) | |
tree | d18f805f3e1da0f9be8ce0f9dc45dcf0716342ac /network | |
parent | f17df731d16b740da31f8688c973e717a7c863ef (diff) | |
download | slackbuilds-521e30bc4ee7b25151e14d7565b9a8963dffc806.tar.gz |
network/netdiscover: 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')
-rw-r--r-- | network/netdiscover/netdiscover.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network/netdiscover/netdiscover.SlackBuild b/network/netdiscover/netdiscover.SlackBuild index 4fe46ac762..492169248b 100644 --- a/network/netdiscover/netdiscover.SlackBuild +++ b/network/netdiscover/netdiscover.SlackBuild @@ -23,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=netdiscover VERSION=${VERSION:-053dda2} COMMIT=${COMMIT:-053dda2f3a8cdb749f8100735d78af427aa417b0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,7 +81,7 @@ sed -i -e 's:share/man:man:' CMakeLists.txt mkdir -p build cd build cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -fcommon" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. |