We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6053ca9 + 8e11724 commit 236edfdCopy full SHA for 236edfd
src/Makefile
@@ -1,11 +1,11 @@
1
H := \#
2
3
HAVE_C_HEADER = $(shell if echo "$(H)include <$(1)>" | \
4
- $(CC) -E - > /dev/null 2>&1; then echo "$(2)"; \
+ $(CC) $(CFLAGS) -E - > /dev/null 2>&1; then echo "$(2)"; \
5
else echo "$(3)"; fi)
6
7
HAVE_C_MACRO = $(shell if echo "$(H)include <$(1)>" | \
8
- $(CC) -E - 2>&1 /dev/null | grep $(2) > /dev/null 2>&1; \
+ $(CC) $(CFLAGS) -E - 2>&1 /dev/null | grep $(2) > /dev/null 2>&1; \
9
then echo 1;else echo 0; fi)
10
11
C_TARGETS := \
0 commit comments