Skip to content

Commit cdcc2a2

Browse files
committed
s
1 parent 0dcb07c commit cdcc2a2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ else ifneq ($(HAVE_RULES),)
155155
$(error invalid HAVE_RULES value '$(HAVE_RULES)')
156156
endif
157157

158-
$(shell ! echo "#include <execinfo.h>" | $(CXX) -c -xc - 2> /dev/null)
159-
HAVE_EXECINFO_H=$(.SHELLSTATUS)
158+
HAVE_EXECINFO_H=$(shell echo "#include <execinfo.h>" | $(CXX) -c -xc - 2> /dev/null && echo "1" || echo "0")
160159
override CPPFLAGS += -DHAVE_EXECINFO_H=$(HAVE_EXECINFO_H)
161160

162161
override CXXFLAGS += $(CXXOPTS)

0 commit comments

Comments
 (0)