aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2022-02-25 20:43:16 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-27 01:09:53 +0700
commit388355129f0f5a3ee4c0ec978a5bfe529c5e7185 (patch)
tree52fd9e938154744343ab14faae192a951f99adbf /network
parente262ec980d0bc90f6c1397e88bd64ca25c3d2a0b (diff)
network/lizardfs: 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/lizardfs/lizardfs.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/lizardfs/lizardfs.SlackBuild b/network/lizardfs/lizardfs.SlackBuild
index 341617b920e1..692eeba8baea 100644
--- a/network/lizardfs/lizardfs.SlackBuild
+++ b/network/lizardfs/lizardfs.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lizardfs
VERSION=${VERSION:-3.12.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -102,8 +102,8 @@ find -L . \
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -fcommon" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fcommon" \
-DCMAKE_INSTALL_PREFIX=/ \
-DENABLE_DEBIAN_PATHS=YES \
-DENABLE_TESTS=NO \