summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeyorp <TheFreeYorp+git@gmail.com>2024-06-04 14:16:16 +0000
committerFreeyorp <TheFreeYorp+git@gmail.com>2024-06-04 14:16:16 +0000
commit779beae0c495dc095808ea4015c5bfda6633e4f1 (patch)
tree0d341650e40390eca136d6e4095a6e94fceb06fd
parent53051b7cace8db3ec948349e0538e393e4af6860 (diff)
downloadtmwa-779beae0c495dc095808ea4015c5bfda6633e4f1.tar.gz
tmwa-779beae0c495dc095808ea4015c5bfda6633e4f1.tar.bz2
tmwa-779beae0c495dc095808ea4015c5bfda6633e4f1.tar.xz
tmwa-779beae0c495dc095808ea4015c5bfda6633e4f1.zip
real.make: Use C++11
C++0x was released as C++11 nearly a decade and a half ago. My version of cmake doesn't recognize it in CMAKE_CXX_STANDARD, which makes before/after comparison difficult.
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 10f909c..6fe2de6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -283,9 +283,9 @@ endif
# This needs to edit CXX instead of CXXFLAGS in order to make
# the %.ii rule work.
ifeq (${ENABLE_CYGWIN_HACKS},yes)
-override CXX += -std=gnu++0x
+override CXX += -std=gnu++11
else
-override CXX += -std=c++0x
+override CXX += -std=c++11
endif
CXXFLAGS += -fstack-protector