summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-20 18:30:44 +0200
committerGitHub <noreply@github.com>2021-06-20 18:30:44 +0200
commitc6c22c2a2c54455d1ec0bdeeac5858f11e3e7490 (patch)
tree8c703f79c22ee7bca454954dc8e5bed96ce1a595
parentc9c5949c525f90471ed16670e7ee6c8b48069abe (diff)
parenta3da33117dd2e0286df5dce13729e41c0280e8e5 (diff)
downloadvyos-1x-c6c22c2a2c54455d1ec0bdeeac5858f11e3e7490.tar.gz
vyos-1x-c6c22c2a2c54455d1ec0bdeeac5858f11e3e7490.zip
Merge pull request #891 from erkin/preprocessor-fix
T3639: xml: Make GCC preprocessor ignore C(++)-style comments
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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: