summaryrefslogtreecommitdiff
path: root/ACE/include
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-11-10 09:47:46 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-11-10 09:47:46 +0100
commit00ced5612f976ff68b077c9841de78aafeb52e7c (patch)
tree8de0eb895fb42bcfa16456021e76e01073f01658 /ACE/include
parent4f8b046a9dedcdf48a3bfb192dc8fb65d6f005ac (diff)
downloadATCD-00ced5612f976ff68b077c9841de78aafeb52e7c.tar.gz
Updated clang version check
* ACE/include/makeinclude/platform_linux_clang.GNU:
Diffstat (limited to 'ACE/include')
-rw-r--r--ACE/include/makeinclude/platform_linux_clang.GNU3
1 files changed, 2 insertions, 1 deletions
diff --git a/ACE/include/makeinclude/platform_linux_clang.GNU b/ACE/include/makeinclude/platform_linux_clang.GNU
index dae441b2649..298670d05b6 100644
--- a/ACE/include/makeinclude/platform_linux_clang.GNU
+++ b/ACE/include/makeinclude/platform_linux_clang.GNU
@@ -19,7 +19,8 @@ CXX_MAJOR_VERSION := $(shell $(CXX) -dumpversion | sed -e 's/[^0-9\.]//g' | sed
endif
# clang5 has C++03 as default C++ version, enable this to be C++11
-ifeq ($(findstring $(CXX_MAJOR_VERSION),5),$(CXX_MAJOR_VERSION))
+# 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