Skip to content

Commit 58776a4

Browse files
committed
s
1 parent 56b1596 commit 58776a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ endif
158158
# older make versions do not support # in $(shell) and newer ones do not handle the escape sequence right
159159
REQUIRE_ESCAPE=$(shell echo "\#define DEF" | $(CXX) -c -xc - && echo "1" || echo "0")
160160
ifeq ($(REQUIRE_ESCAPE),1)
161-
HAVE_EXECINFO_H=$(shell echo "\#include <execinfo.h>" | $(CXX) -c -xc - && echo "1" || echo "0")
161+
HAVE_EXECINFO_H=$(shell echo "\#include <execinfo.h>" | $(CXX) -c -xc - 2> /dev/null && echo "1" || echo "0")
162162
else
163-
HAVE_EXECINFO_H=$(shell echo "#include <execinfo.h>" | $(CXX) -c -xc - && echo "1" || echo "0")
163+
HAVE_EXECINFO_H=$(shell echo "#include <execinfo.h>" | $(CXX) -c -xc - 2> /dev/null && echo "1" || echo "0")
164164
endif
165165
override CPPFLAGS += -DHAVE_EXECINFO_H=$(HAVE_EXECINFO_H)
166166

0 commit comments

Comments
 (0)