summaryrefslogtreecommitdiff
path: root/buildlib/environment.mak.in
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib/environment.mak.in')
-rw-r--r--buildlib/environment.mak.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildlib/environment.mak.in b/buildlib/environment.mak.in
index 8ea7a05ba..287205181 100644
--- a/buildlib/environment.mak.in
+++ b/buildlib/environment.mak.in
@@ -9,7 +9,7 @@ PACKAGE_MAIL = @PACKAGE_MAIL@
CC = @CC@
CPPFLAGS+= @CPPFLAGS@ @DEFS@ -D_REENTRANT -D_FORTIFY_SOURCE=2
CXX = @CXX@
-CXXFLAGS+= @CXXFLAGS@ -Wall -Wextra
+CXXFLAGS+= @CXXFLAGS@ -std=c++11 -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
# suggests methods which already have such an attribute