diff options
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0030-plural_c_no_preprocessor_lines.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0030-plural_c_no_preprocessor_lines.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/0030-plural_c_no_preprocessor_lines.patch b/meta/recipes-core/glibc/glibc/0030-plural_c_no_preprocessor_lines.patch new file mode 100644 index 0000000000..6f03e1c62d --- /dev/null +++ b/meta/recipes-core/glibc/glibc/0030-plural_c_no_preprocessor_lines.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | Improve reproducibility: | ||
2 | Do not put any #line preprocessor commands in bison generated files. | ||
3 | These lines contain absolute paths containing file locations on | ||
4 | the host build machine. | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> | ||
8 | |||
9 | diff --git a/intl/Makefile b/intl/Makefile | ||
10 | index 2219717..a203780 100644 | ||
11 | --- a/intl/Makefile | ||
12 | +++ b/intl/Makefile | ||
13 | @@ -151,7 +151,7 @@ $(objpfx)tst-gettext6.out: $(objpfx)tst-gettext.out | ||
14 | |||
15 | CPPFLAGS += -D'LOCALEDIR="$(localedir)"' \ | ||
16 | -D'LOCALE_ALIAS_PATH="$(localedir)"' | ||
17 | -BISONFLAGS = --yacc --name-prefix=__gettext --output | ||
18 | +BISONFLAGS = --yacc --no-lines --name-prefix=__gettext --output | ||
19 | |||
20 | $(inst_localedir)/locale.alias: locale.alias $(+force) | ||
21 | $(do-install) | ||