File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
159159REQUIRE_ESCAPE =$(shell echo "\#define DEF" | $(CXX ) -c -xc - && echo "1" || echo "0")
160160ifeq ($(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")
162162else
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")
164164endif
165165override CPPFLAGS += -DHAVE_EXECINFO_H=$(HAVE_EXECINFO_H )
166166
You can’t perform that action at this time.
0 commit comments