From e2b6c3fcf8f699700ac6579af93d532a6d66bb32 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Tue, 15 Dec 2015 22:14:38 +0000 Subject: [PATCH] network/lurc: Fixed build with gcc-5.2.0. Signed-off-by: David Spencer --- network/lurc/lurc.SlackBuild | 5 +++-- 1 file 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