summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerkin <e.altunbas@vyos.io>2021-06-20 16:47:22 +0300
committererkin <e.altunbas@vyos.io>2021-06-20 16:47:22 +0300
commita3da33117dd2e0286df5dce13729e41c0280e8e5 (patch)
treeff038fe8fe3dae6a5def4d1c06ed7e27df3e8a1c
parentb3fbc7bd6bf6de9ab09e8e344e77f53e9213d392 (diff)
downloadvyos-1x-a3da33117dd2e0286df5dce13729e41c0280e8e5.tar.gz
vyos-1x-a3da33117dd2e0286df5dce13729e41c0280e8e5.zip
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: