diff options
author | Adam Mitz <mitza@objectcomputing.com> | 2020-04-24 10:26:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-24 10:26:34 -0500 |
commit | 31492dcfc3c8a7effcb605175ceb99e8ba74a8b4 (patch) | |
tree | 662ca78a7e451904ef06fab3053207624e19e2b2 /ACE/include/makeinclude | |
parent | d0893fa9be9c5082fce02e396df1d31523e3d87a (diff) | |
download | ATCD-31492dcfc3c8a7effcb605175ceb99e8ba74a8b4.tar.gz |
platform_clang_common.GNU: redirect stderr for version checksmitza-oci-clang-common
This part was changed in PR #1022 caused a lot of extra output using clang on macOS.
This commit redirects stderr from make's $(shell).
Diffstat (limited to 'ACE/include/makeinclude')
-rw-r--r-- | ACE/include/makeinclude/platform_clang_common.GNU | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/include/makeinclude/platform_clang_common.GNU b/ACE/include/makeinclude/platform_clang_common.GNU index 00ca5467051..96cb57ddc2a 100644 --- a/ACE/include/makeinclude/platform_clang_common.GNU +++ b/ACE/include/makeinclude/platform_clang_common.GNU @@ -75,7 +75,7 @@ ifneq ($(DLD),) LD_FOR_VERSION_TEST = $(DLD) endif # DLD = CXX_FOR_VERSION_TEST # The -E option is GNU ld specific - GNU_LD := $(if $(findstring GNU ld,$(shell $(LD_FOR_VERSION_TEST) -v)), 1, 0) + GNU_LD := $(if $(findstring GNU ld,$(shell $(LD_FOR_VERSION_TEST) -v 2>&1)), 1, 0) endif # DLD ifeq ($(GNU_LD),1) |