Skip to content

Commit 880be99

Browse files
committed
Use COMPILE.c for IWYU *.inc files
1 parent 69390cc commit 880be99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,7 @@ $(ODIR)/%.inc: $(SRC_DIR)/%.cpp
11401140
$(COMPILE.cc) -o /dev/null -Wno-error -H -E $< 2> $@
11411141

11421142
$(ODIR)/%.inc: $(SRC_DIR)/%.c
1143-
$(CXX) -x c $(CPPFLAGS) $(DEFINES) $(CFLAGS) -Wno-error -H -E $< -o /dev/null 2> $@
1143+
$(COMPILE.c) -o /dev/null -Wno-error -H -E $< 2> $@
11441144

11451145
.PHONY: includes
11461146
includes: $(OBJS:.o=.inc)

0 commit comments

Comments
 (0)