summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-04 17:27:34 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commita92906ca3c641a2e412cab7904a7570b5d6cba32 (patch)
treea0ef405de07890c328108c0027a6a6a5b9ea035f
parentc6ec555a3bc461658ee53030e0e909c114e31448 (diff)
downloadslackbuilds-a92906ca3c641a2e412cab7904a7570b5d6cba32.tar.gz
libraries/gtkmm-utils: Force std=c++11 in CXXFLAGS.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/gtkmm-utils/gtkmm-utils.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/gtkmm-utils/gtkmm-utils.SlackBuild b/libraries/gtkmm-utils/gtkmm-utils.SlackBuild
index 7a14a4a1cd..7cf403dc65 100644
--- a/libraries/gtkmm-utils/gtkmm-utils.SlackBuild
+++ b/libraries/gtkmm-utils/gtkmm-utils.SlackBuild
@@ -69,8 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="-DGLIB_COMPILATION" \
-CXXFLAGS="-DGLIB_COMPILATION" \
+CFLAGS="$SLKCFLAGS -DGLIB_COMPILATION" \
+CXXFLAGS="$SLKCFLAGS -DGLIB_COMPILATION -std=c++11" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \