diff options
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0025-intl-Emit-no-lines-in-bison-generated-files.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0025-intl-Emit-no-lines-in-bison-generated-files.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/0025-intl-Emit-no-lines-in-bison-generated-files.patch b/meta/recipes-core/glibc/glibc/0025-intl-Emit-no-lines-in-bison-generated-files.patch new file mode 100644 index 0000000000..700fb28874 --- /dev/null +++ b/meta/recipes-core/glibc/glibc/0025-intl-Emit-no-lines-in-bison-generated-files.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From bc3380877bd2a1f9368a913fa6a2ca1ee88fd95f Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 3 Aug 2018 09:44:00 -0700 | ||
4 | Subject: [PATCH 25/29] intl: Emit no lines in bison generated files | ||
5 | |||
6 | Improve reproducibility: | ||
7 | Do not put any #line preprocessor commands in bison generated files. | ||
8 | These lines contain absolute paths containing file locations on | ||
9 | the host build machine. | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> | ||
14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
15 | --- | ||
16 | intl/Makefile | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/intl/Makefile b/intl/Makefile | ||
20 | index ce3072420f..58457840d9 100644 | ||
21 | --- a/intl/Makefile | ||
22 | +++ b/intl/Makefile | ||
23 | @@ -155,7 +155,7 @@ $(objpfx)tst-gettext6.out: $(objpfx)tst-gettext.out | ||
24 | |||
25 | CPPFLAGS += -D'LOCALEDIR="$(localedir)"' \ | ||
26 | -D'LOCALE_ALIAS_PATH="$(localedir)"' | ||
27 | -BISONFLAGS = --yacc --name-prefix=__gettext --output | ||
28 | +BISONFLAGS = --yacc --no-lines --name-prefix=__gettext --output | ||
29 | |||
30 | $(inst_localedir)/locale.alias: locale.alias $(+force) | ||
31 | $(do-install) | ||
32 | -- | ||
33 | 2.27.0 | ||
34 | |||