diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-12-10 10:08:41 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-12-10 10:08:43 +0100 |
commit | 27dabfab5419cbf00f3b80683f31453db8bed1f9 (patch) | |
tree | eb4e7be345b2f61d15e66b498b6e14469b259fab /Makefile | |
parent | a68d72122c3cc032b5a7b05dafc0578e64244c4f (diff) | |
download | vyos-1x-27dabfab5419cbf00f3b80683f31453db8bed1f9.tar.gz vyos-1x-27dabfab5419cbf00f3b80683f31453db8bed1f9.zip |
T1843: fix proxy URL handling when running through GCC preprocessor
Newer GCC version (8.3 in Debian Buster) no longer support the -ansi option as
in GCC 4 used in Debian Jessie. Thus the URL which is used as regex for the
proxy must be escaped properly - else the // in the URL is treated as C++
comment.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ obj = $(src:.xml.in=.xml) # -nostdinc Do not search the standard system directories for header files # -P Inhibit generation of linemarkers in the output from the # preprocessor - @$(CC) -ansi -x c -E -undef -nostdinc -P -I$(CURDIR)/interface-definitions -o $(BUILD_DIR)/$@ -c $< + @$(CC) -x c-header -E -undef -nostdinc -P -I$(CURDIR)/interface-definitions -o $(BUILD_DIR)/$@ -c $< $(BUILD_DIR): install -d -m 0755 $(BUILD_DIR)/interface-definitions |