From 3ed0253a129fd762e17582d3a0a8d549a0bbc470 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 24 Dec 2015 07:25:36 +0700 Subject: [PATCH] gtkmm: Fix build on new GCC. Signed-off-by: Willy Sudiarto Raharjo --- deps/gtkmm/gtkmm.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/gtkmm/gtkmm.SlackBuild b/deps/gtkmm/gtkmm.SlackBuild index 68ba46d..ede1bac 100644 --- a/deps/gtkmm/gtkmm.SlackBuild +++ b/deps/gtkmm/gtkmm.SlackBuild @@ -42,7 +42,7 @@ wget -c http://download.gnome.org/sources/$PRGNAM/2.24/$PRGNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} -CWD=$(pwd) +CWD=$(pwd) TMP=${TMP:-/tmp/msb} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -77,7 +77,7 @@ find . \ -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -std=c++11" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \