From 6a8d2cb109a43157f5c9dd27704d0da5a896b41d Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 1 Nov 2016 22:35:17 +0100 Subject: kde, kdei: updated for KDE 5_16.08 --- kde/cmake/kservice | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'kde/cmake/kservice') diff --git a/kde/cmake/kservice b/kde/cmake/kservice index b33652b..86b95bb 100644 --- a/kde/cmake/kservice +++ b/kde/cmake/kservice @@ -1,10 +1,15 @@ +# +# Need to append "-std=c99" to the # CMAKE_C_FLAGS, because of a bug in +# flex-2.6.0 which generates a C code # with C++-style comments. +# The bug has been fixed in flex 2.6.1 which is not part of Slackware. +# mkdir build cd build cmake \ $KDE_OPT_ARGS \ -DKDE_PLATFORM_FEATURE_DISABLE_DEPRECATED=TRUE \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -std=c99" \ + -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS -std=c99" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \ -DCMAKE_BUILD_TYPE=Release \ -- cgit v1.2.3