summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/wget/wget/0002-improve-reproducibility.patch9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-extended/wget/wget/0002-improve-reproducibility.patch b/meta/recipes-extended/wget/wget/0002-improve-reproducibility.patch
index 8781df21c0..050fc2c7e1 100644
--- a/meta/recipes-extended/wget/wget/0002-improve-reproducibility.patch
+++ b/meta/recipes-extended/wget/wget/0002-improve-reproducibility.patch
@@ -34,6 +34,11 @@ Link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
34Upstream-Status: Inappropriate [oe-core specific] 34Upstream-Status: Inappropriate [oe-core specific]
35 35
36Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 36Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
37
38sed use of DEBUG_PREFIX_MAP must treat whitespace the same as the
39echo command building version.c or the expression match will fail.
40
41Signed-off-by: Joe Slater <jslater@windriver.com>
37--- 42---
38 src/Makefile.am | 4 ++++ 43 src/Makefile.am | 4 ++++
39 1 file changed, 4 insertions(+) 44 1 file changed, 4 insertions(+)
@@ -47,12 +52,12 @@ index 28c0be2..44084a3 100644
47 echo 'const char *version_string = "@VERSION@";' >> $@ 52 echo 'const char *version_string = "@VERSION@";' >> $@
48 echo 'const char *compilation_string = "'$(COMPILE)'";' \ 53 echo 'const char *compilation_string = "'$(COMPILE)'";' \
49+ | sed -e "s,$(TOOLCHAIN_OPTIONS),,g" \ 54+ | sed -e "s,$(TOOLCHAIN_OPTIONS),,g" \
50+ -e "s,$(DEBUG_PREFIX_MAP),,g" \ 55+ -e "s,$$(echo $(DEBUG_PREFIX_MAP)),,g" \
51 | $(ESCAPEQUOTE) >> $@ 56 | $(ESCAPEQUOTE) >> $@
52 echo 'const char *link_string = "'$(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 57 echo 'const char *link_string = "'$(CCLD) $(AM_CFLAGS) $(CFLAGS) \
53 $(AM_LDFLAGS) $(LDFLAGS) $(LIBS) $(wget_LDADD)'";' \ 58 $(AM_LDFLAGS) $(LDFLAGS) $(LIBS) $(wget_LDADD)'";' \
54+ | sed -e "s,$(TOOLCHAIN_OPTIONS),,g" \ 59+ | sed -e "s,$(TOOLCHAIN_OPTIONS),,g" \
55+ -e "s,$(DEBUG_PREFIX_MAP),,g" \ 60+ -e "s,$$(echo $(DEBUG_PREFIX_MAP)),,g" \
56 | $(ESCAPEQUOTE) >> $@ 61 | $(ESCAPEQUOTE) >> $@
57 62
58 css.c: $(srcdir)/css.l 63 css.c: $(srcdir)/css.l