summaryrefslogtreecommitdiff
path: root/network/lurc
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 /network/lurc
parentd2632a39d3434a054924290b65b3d13ca8a06656 (diff)
downloadslackbuilds-e2b6c3fcf8f699700ac6579af93d532a6d66bb32.tar.gz
network/lurc: Fixed build with gcc-5.2.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'network/lurc')
-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 8737169c20..5a0a33b203 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