mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
network/netdiscover: Add -fcommon to CFLAGS.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f17df731d1
commit
521e30bc4e
1 changed files with 2 additions and 2 deletions
|
@ -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 ..
|
||||
|
|
Loading…
Reference in a new issue