From 6e68314c88782aed34ae67cb58f11f84c30d7554 Mon Sep 17 00:00:00 2001 From: Luiz Ramos Date: Sat, 4 Jan 2020 13:42:41 -0300 Subject: 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 --- libraries/frei0r/frei0r.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/frei0r') 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 .. -- cgit v1.2.3