summaryrefslogtreecommitdiff
path: root/buildlib/environment.mak.in
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-11-19 19:27:09 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-11-19 19:27:09 +0100
commitc3c77d09651b5bed315c83ebe2354c9d2cb31253 (patch)
tree3fc7e1c78a699acd59b87f8a0835f1700e9438c5 /buildlib/environment.mak.in
parent6aef1942f441e6e667982b92802907026d8cc7c6 (diff)
move -std=c++11 from CXX to new CXXSTD
The hack introduced in aa91826f is replaced with a hopefully better working "proper" solution with a new variable just for the standard we use everywhere we use CXXFLAGS. Git-Dch: Ignore
Diffstat (limited to 'buildlib/environment.mak.in')
-rw-r--r--buildlib/environment.mak.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildlib/environment.mak.in b/buildlib/environment.mak.in
index 51fbc72fb..db83f6dcd 100644
--- a/buildlib/environment.mak.in
+++ b/buildlib/environment.mak.in
@@ -8,7 +8,8 @@ PACKAGE_MAIL = @PACKAGE_MAIL@
# C++ compiler options
CC = @CC@
CPPFLAGS+= @CPPFLAGS@ @DEFS@ -D_REENTRANT -D_FORTIFY_SOURCE=2
-CXX = @CXX@ -std=c++11
+CXX = @CXX@
+CXXSTD = -std=c++11
CXXFLAGS+= @CXXFLAGS@ -Wall -Wextra
CXXFLAGS+= -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations
CXXFLAGS+= -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wnoexcept -Wsign-promo -Wundef