mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 06:32:11 +02:00
libc6-dbg: improve reproducibility
Prevent bison from generating #line comments containing build host paths references. [YOCTO #12625] (From OE-Core rev: 85af760bb7370d001df0ab5915bc9ee7e6c03dfd) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
dc24e256a9
commit
7778831139
@@ -0,0 +1,21 @@
|
||||
Improve reproducibility:
|
||||
Do not put any #line preprocessor commands in bison generated files.
|
||||
These lines contain absolute paths containing file locations on
|
||||
the host build machine.
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
|
||||
|
||||
diff --git a/intl/Makefile b/intl/Makefile
|
||||
index 2219717..a203780 100644
|
||||
--- a/intl/Makefile
|
||||
+++ b/intl/Makefile
|
||||
@@ -151,7 +151,7 @@ $(objpfx)tst-gettext6.out: $(objpfx)tst-gettext.out
|
||||
|
||||
CPPFLAGS += -D'LOCALEDIR="$(localedir)"' \
|
||||
-D'LOCALE_ALIAS_PATH="$(localedir)"'
|
||||
-BISONFLAGS = --yacc --name-prefix=__gettext --output
|
||||
+BISONFLAGS = --yacc --no-lines --name-prefix=__gettext --output
|
||||
|
||||
$(inst_localedir)/locale.alias: locale.alias $(+force)
|
||||
$(do-install)
|
||||
@@ -44,6 +44,7 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
|
||||
file://0027-Acquire-ld.so-lock-before-switching-to-malloc_atfork.patch \
|
||||
file://0028-bits-siginfo-consts.h-enum-definition-for-TRAP_HWBKP.patch \
|
||||
file://0029-Replace-strncpy-with-memccpy-to-fix-Wstringop-trunca.patch \
|
||||
file://0030-plural_c_no_preprocessor_lines.patch \
|
||||
"
|
||||
|
||||
NATIVESDKFIXES ?= ""
|
||||
|
||||
Reference in New Issue
Block a user