blob: a285533a37c3b90c956b546d4c825163e6b8a453 (
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: 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/=\${.*=/=/' \
|