0026-intl-Emit-no-lines-in-bison-generated-files.patch 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. From 99ab34278a6ebec134267412b4f619f43e278dea 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] intl: Emit no lines in bison generated files
  5. Improve reproducibility:
  6. Do not put any #line preprocessor commands in bison generated files.
  7. These lines contain absolute paths containing file locations on
  8. the host build machine.
  9. Upstream-Status: Pending
  10. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
  11. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  12. ---
  13. intl/Makefile | 2 +-
  14. 1 file changed, 1 insertion(+), 1 deletion(-)
  15. diff --git a/intl/Makefile b/intl/Makefile
  16. index 93478d87e8..b27a7935eb 100644
  17. --- a/intl/Makefile
  18. +++ b/intl/Makefile
  19. @@ -155,7 +155,7 @@ $(objpfx)tst-gettext6.out: $(objpfx)tst-gettext.out
  20. CPPFLAGS += -D'LOCALEDIR="$(localedir)"' \
  21. -D'LOCALE_ALIAS_PATH="$(localedir)"'
  22. -BISONFLAGS = --yacc --name-prefix=__gettext --output
  23. +BISONFLAGS = --yacc --no-lines --name-prefix=__gettext --output
  24. $(inst_localedir)/locale.alias: locale.alias $(+force)
  25. $(do-install)