From a3da33117dd2e0286df5dce13729e41c0280e8e5 Mon Sep 17 00:00:00 2001 From: erkin Date: Sun, 20 Jun 2021 16:47:22 +0300 Subject: xml: Make GCC preprocessor ignore C(++)-style comments --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 26fa8baf6..f029225f2 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ op_xml_obj = $(op_xml_src:.xml.in=.xml) # -P Inhibit generation of linemarkers in the output from the # preprocessor mkdir -p $(BUILD_DIR)/$(dir $@) - @$(CC) -x c-header -E -undef -nostdinc -P -I$(CURDIR)/$(dir $<) -o $(BUILD_DIR)/$@ -c $< + @$(CC) -x c-header -C -E -undef -nostdinc -P -I$(CURDIR)/$(dir $<) -o $(BUILD_DIR)/$@ -c $< .PHONY: interface_definitions .ONESHELL: -- cgit v1.2.3