summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-11-10 09:44:22 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-11-10 09:44:22 +0100
commit4f8b046a9dedcdf48a3bfb192dc8fb65d6f005ac (patch)
treeca068d784c42f23c1ffe416147e8c84e4a9f6e05
parent77a1104c4693db655642a24a622757a91fd3def2 (diff)
downloadATCD-4f8b046a9dedcdf48a3bfb192dc8fb65d6f005ac.tar.gz
Fixed clang major version detection
* ACE/include/makeinclude/platform_linux_clang.GNU:
-rw-r--r--ACE/include/makeinclude/platform_linux_clang.GNU2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/include/makeinclude/platform_linux_clang.GNU b/ACE/include/makeinclude/platform_linux_clang.GNU
index 6ce3673b19c..dae441b2649 100644
--- a/ACE/include/makeinclude/platform_linux_clang.GNU
+++ b/ACE/include/makeinclude/platform_linux_clang.GNU
@@ -15,7 +15,7 @@ endif
ifeq (cmd,$(findstring cmd,$(SHELL)))
CXX_MAJOR_VERSION := $(firstword $(subst ., ,$(CXX_VERSION)))
else
-CXX_MAJOR_VERSION := $(shell $(CXX_FOR_VERSION_TEST) -dumpversion | sed -e 's/[^0-9\.]//g' | sed -e 's/\..*$$//')
+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