summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2018-08-21 20:00:37 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2018-08-21 20:00:37 +0200
commit74440ce5c837183fd8dc94f2f863e47111416e1f (patch)
treec05b989d82e1eb35cb7d191363db4f33ce4787f8
parentbef1ef4b2516e428b530b0ccce452fdd97999a50 (diff)
Also hide ffile-prefix-map
-rw-r--r--debian/patches/0011-Do-not-show-g-build-flags-in-Version-string.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/0011-Do-not-show-g-build-flags-in-Version-string.patch b/debian/patches/0011-Do-not-show-g-build-flags-in-Version-string.patch
index adcc4482..88f9320c 100644
--- a/debian/patches/0011-Do-not-show-g-build-flags-in-Version-string.patch
+++ b/debian/patches/0011-Do-not-show-g-build-flags-in-Version-string.patch
@@ -7,7 +7,7 @@ Subject: Do not show g++ build flags in Version string
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
-index aa66a54..118fd37 100644
+index aa66a54..a13a31c 100644
--- a/Makefile
+++ b/Makefile
@@ -370,15 +370,14 @@ libyosys.so: $(filter-out kernel/driver.o,$(OBJS))
@@ -24,7 +24,7 @@ index aa66a54..118fd37 100644
yosys-config: misc/yosys-config.in
- $(P) $(SED) -e 's#@CXXFLAGS@#$(subst -I. -I"$(YOSYS_SRC)",-I"$(DATDIR)/include",$(CXXFLAGS))#;' \
-+ NEWCXXFLAGS=`echo $(subst -I. -I"$(YOSYS_SRC)",-I"$(DATDIR)/include",$(CXXFLAGS)) | sed 's/-fdebug-prefix[^ ]\+ //'` $(P) $(SED) -e 's#@CXXFLAGS@#'${NEWCXXFLAGS}'#;' \
++ NEWCXXFLAGS=`echo $(subst -I. -I"$(YOSYS_SRC)",-I"$(DATDIR)/include",$(CXXFLAGS)) | sed 's/-fdebug-prefix[^ ]\+ //' | sed 's/-ffile-prefix-map[^ ]\+ //'` $(P) $(SED) -e 's#@CXXFLAGS@#'${NEWCXXFLAGS}'#;' \
-e 's#@CXX@#$(CXX)#;' -e 's#@LDFLAGS@#$(LDFLAGS)#;' -e 's#@LDLIBS@#$(LDLIBS)#;' \
-e 's#@BINDIR@#$(BINDIR)#;' -e 's#@DATDIR@#$(DATDIR)#;' < $< > yosys-config
$(Q) chmod +x yosys-config