blob: 6f03e1c62d3817c561134ac35e08ed034b5df6b6 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001Improve reproducibility:
2Do not put any #line preprocessor commands in bison generated files.
3These lines contain absolute paths containing file locations on
4the host build machine.
5
6Upstream-Status: Pending
7Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
8
9diff --git a/intl/Makefile b/intl/Makefile
10index 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)