mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
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>
This commit is contained in:
parent
15f3312a7e
commit
6e68314c88
1 changed files with 1 additions and 1 deletions
|
@ -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 ..
|
||||
|
|
Loading…
Reference in a new issue