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:
Luiz Ramos 2020-01-04 13:42:41 -03:00 committed by Willy Sudiarto Raharjo
parent 15f3312a7e
commit 6e68314c88
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -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 ..