aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-15 22:14:38 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commite2b6c3fcf8f699700ac6579af93d532a6d66bb32 (patch)
tree3009a1b105faa196f31da8f90d338d0fa750ebd9
parentd2632a39d3434a054924290b65b3d13ca8a06656 (diff)
network/lurc: Fixed build with gcc-5.2.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
-rw-r--r--network/lurc/lurc.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/network/lurc/lurc.SlackBuild b/network/lurc/lurc.SlackBuild
index 8737169c20f02..5a0a33b2035c1 100644
--- a/network/lurc/lurc.SlackBuild
+++ b/network/lurc/lurc.SlackBuild
@@ -69,9 +69,10 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS -fgnu89-inline" \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
.
make