summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ACE/include/makeinclude/platform_clang_common.GNU2
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)