Skip to content

Commit eda4733

Browse files
committed
Merge branch 'js/honor-cflags-in-hdr-check' into jch
* js/honor-cflags-in-hdr-check: hdr-check: make it work on Windows
2 parents d1a68cd + a3f332f commit eda4733

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2773,7 +2773,7 @@ CHK_HDRS = $(filter-out $(EXCEPT_HDRS),$(patsubst ./%,%,$(LIB_H)))
27732773
HCO = $(patsubst %.h,%.hco,$(CHK_HDRS))
27742774

27752775
$(HCO): %.hco: %.h FORCE
2776-
$(QUIET_HDR)$(CC) -include git-compat-util.h -I. -o /dev/null -c -xc $<
2776+
$(QUIET_HDR)$(CC) $(ALL_CFLAGS) -include git-compat-util.h -I. -o /dev/null -c -xc $<
27772777

27782778
.PHONY: hdr-check $(HCO)
27792779
hdr-check: $(HCO)

0 commit comments

Comments
 (0)