From: Junio C Hamano Date: Sat, 28 Sep 2019 05:01:08 +0000 (+0900) Subject: Revert "Merge branch 'js/honor-cflags-in-hdr-check' into next" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ccfaed27d6c89e154e3108c800de8de15b1981d;p=git Revert "Merge branch 'js/honor-cflags-in-hdr-check' into next" This reverts commit fcd9ee9f1bfd73f2b81f4b023640d856c7b33c95, reversing changes made to 1973826628e7406ce38daccb0826f2e447be9086. A separate topic that addresses essentially the same issue supersedes it. --- diff --git a/Makefile b/Makefile index 37560d18cc..f879697ea3 100644 --- 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)