summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/platform_linux_clang.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/include/makeinclude/platform_linux_clang.GNU')
-rw-r--r--ACE/include/makeinclude/platform_linux_clang.GNU10
1 files changed, 4 insertions, 6 deletions
diff --git a/ACE/include/makeinclude/platform_linux_clang.GNU b/ACE/include/makeinclude/platform_linux_clang.GNU
index 2cfc0accbec..a0fed4aa604 100644
--- a/ACE/include/makeinclude/platform_linux_clang.GNU
+++ b/ACE/include/makeinclude/platform_linux_clang.GNU
@@ -18,12 +18,6 @@ else
CXX_MAJOR_VERSION := $(shell $(CXX) -dumpversion | sed -e 's/[^0-9\.]//g' | sed -e 's/\..*$$//')
endif
-# clang5 has C++03 as default C++ version, enable this to be C++11
-# the older clang versions all return 4.2.1 as part of dumpversion
-ifeq ($(findstring $(CXX_MAJOR_VERSION),4),$(CXX_MAJOR_VERSION))
- c++11 ?= 1
-endif
-
CCFLAGS += $(CFLAGS)
DCFLAGS += -g
DLD = $(CXX)
@@ -45,6 +39,10 @@ ifeq ($(c++11),1)
CCFLAGS += -std=c++11
endif
+ifeq ($(c++14),1)
+ CCFLAGS += -std=c++14
+endif
+
ifeq ($(no_deprecated),1)
CCFLAGS += -Wno-deprecated-declarations
endif