aboutsummaryrefslogtreecommitdiff
path: root/libraries/frei0r
diff options
context:
space:
mode:
authorLuiz Ramos <lramos.prof@yahoo.com.br>2020-01-04 13:42:41 -0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:48:03 +0700
commit6e68314c88782aed34ae67cb58f11f84c30d7554 (patch)
treecd2b6ae45a36310d5fc4f5a76bcbb90a98c1a7e2 /libraries/frei0r
parent15f3312a7ef3a6bd36ac229bdf25c4a61c774b8b (diff)
libraries/frei0r: Force -std=c++11 to fix build.
gcc C++11 compatibility was needed to build frei0r. The option "-std=c++11" was added to the SlackBuild in order to do that. Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/frei0r')
-rw-r--r--libraries/frei0r/frei0r.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/frei0r/frei0r.SlackBuild b/libraries/frei0r/frei0r.SlackBuild
index 51193323e538..ce64a47e5021 100644
--- a/libraries/frei0r/frei0r.SlackBuild
+++ b/libraries/frei0r/frei0r.SlackBuild
@@ -96,7 +96,7 @@ mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib$LIBDIRSUFFIX \
-DCMAKE_BUILD_TYPE=Release ..