File: 30_build_path_in_binary.diff

package info (click to toggle)
lynx 2.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,024 kB
  • sloc: ansic: 137,142; sh: 4,022; perl: 1,523; makefile: 1,193; yacc: 783
file content (18 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Strip out build path from cfg_defs.h
 For build reproducibility when building in a different directory. Debian
 builds use -fdebug-prefix-map=$builddir=.
Author: Andreas Metzler <ametzler@debian.org>
Origin: vendor
Forwarded: no
Last-Update: 2021-07-27

--- a/scripts/cfg_defs.sh
+++ b/scripts/cfg_defs.sh
@@ -21,6 +21,7 @@ static const struct {
 EOF
 
 sed \
+	-e "s@`pwd`@SUPRRESSED4REPRODUCIBLEBUILD@g" \
 	-e '/^#/d'     \
 	-e 's/^.[^=]*_cv_//' \
 	-e 's/=\${.*=/=/'  \