diff options
author | Luiz Ramos <lramos.prof@yahoo.com.br> | 2020-01-04 13:42:41 -0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-12 08:48:03 +0700 |
commit | 6e68314c88782aed34ae67cb58f11f84c30d7554 (patch) | |
tree | cd2b6ae45a36310d5fc4f5a76bcbb90a98c1a7e2 | |
parent | 15f3312a7ef3a6bd36ac229bdf25c4a61c774b8b (diff) | |
download | slackbuilds-6e68314c88782aed34ae67cb58f11f84c30d7554.tar.gz |
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>
-rw-r--r-- | libraries/frei0r/frei0r.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/frei0r/frei0r.SlackBuild b/libraries/frei0r/frei0r.SlackBuild index 51193323e5..ce64a47e50 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 .. |