We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6f1a6c commit e46676dCopy full SHA for e46676d
1 file changed
Makefile
@@ -156,7 +156,7 @@ else ifneq ($(HAVE_RULES),)
156
endif
157
158
# older make versions do not support # in $(shell) and newer ones handle the escape sequence literally
159
-REQUIRE_ESCAPE=$(shell echo "\#define DEF" | $(CXX) -c -xc - && echo "1" || echo "0")
+REQUIRE_ESCAPE=$(shell echo "\#define DEF" | $(CXX) -c -xc - 2> /dev/null && echo "1" || echo "0")
160
ifeq ($(REQUIRE_ESCAPE),1)
161
HAVE_EXECINFO_H=$(shell echo "\#include <execinfo.h>" | $(CXX) -c -xc - 2> /dev/null && echo "1" || echo "0")
162
else
0 commit comments