]> granicus.if.org Git - git/commitdiff
Revert "Merge branch 'js/honor-cflags-in-hdr-check' into next"
authorJunio C Hamano <gitster@pobox.com>
Sat, 28 Sep 2019 05:01:08 +0000 (14:01 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Sep 2019 05:01:08 +0000 (14:01 +0900)
This reverts commit fcd9ee9f1bfd73f2b81f4b023640d856c7b33c95, reversing
changes made to 1973826628e7406ce38daccb0826f2e447be9086.

A separate topic that addresses essentially the same issue
supersedes it.

Makefile

index 37560d18cc9b9d3611e743a235562ac4504a780f..f879697ea3b23f6ad6308afb33ae0f08ec262591 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2773,7 +2773,7 @@ CHK_HDRS = $(filter-out $(EXCEPT_HDRS),$(patsubst ./%,%,$(LIB_H)))
 HCO = $(patsubst %.h,%.hco,$(CHK_HDRS))
 
 $(HCO): %.hco: %.h FORCE
-       $(QUIET_HDR)$(CC) $(ALL_CFLAGS) -include git-compat-util.h -I. -o /dev/null -c -xc $<
+       $(QUIET_HDR)$(CC) -include git-compat-util.h -I. -o /dev/null -c -xc $<
 
 .PHONY: hdr-check $(HCO)
 hdr-check: $(HCO)