From 31492dcfc3c8a7effcb605175ceb99e8ba74a8b4 Mon Sep 17 00:00:00 2001 From: Adam Mitz Date: Fri, 24 Apr 2020 10:26:34 -0500 Subject: platform_clang_common.GNU: redirect stderr for version checks 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). --- ACE/include/makeinclude/platform_clang_common.GNU | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1