blob: fba050a0ebc61230e02371101214c6638b3ccbee (
plain)
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: 2019-03-02
--- a/scripts/cfg_defs.sh
+++ b/scripts/cfg_defs.sh
@@ -19,6 +19,7 @@ static const struct {
EOF
sed \
+ -e "s@`pwd`@SUPRRESSED4REPRODUCIBLEBUILD@g" \
-e '/^#/d' \
-e 's/^.[^=]*_cv_//' \
-e 's/=\${.*=/=/' \
|