about summary refs log tree commit diff
path: root/intl
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-12-01 23:13:13 -0800
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-14 09:33:25 -0300
commitf8392bb76633f794eea86401899e268bf52cff61 (patch)
treee4601e3e248913b9a65051ebf172e1b51d78b00a /intl
parentec06717856d361e503df1813168b8c5c9f7c1eec (diff)
downloadglibc-f8392bb76633f794eea86401899e268bf52cff61.tar.gz
glibc-f8392bb76633f794eea86401899e268bf52cff61.tar.xz
glibc-f8392bb76633f794eea86401899e268bf52cff61.zip
intl: Emit no lines in bison generated files
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.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'intl')
-rw-r--r--intl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/intl/Makefile b/intl/Makefile
index 93478d87e8..b27a7935eb 100644
--- a/intl/Makefile
+++ b/intl/Makefile
@@ -155,7 +155,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)