Patch to make the suricata build reproducible This patch makes some changes to the...
authorArturo Borrero Gonzalez <arturo@debian.org>
Tue, 14 Dec 2021 14:24:47 +0000 (14:24 +0000)
committerSascha Steinbiss <satta@debian.org>
Tue, 14 Dec 2021 14:24:47 +0000 (14:24 +0000)
Forwarded: not-needed
Last-Update: 2016-09-05

Gbp-Pq: Name reproducible.patch

configure.ac

index b64117c8ca2285efc314193e8a7cbebc69e2124c..69119a54aa70f9da6c789dae3f8a5051ac25e693 100644 (file)
@@ -2884,7 +2884,8 @@ Generic build parameters:
 echo
 echo "$SURICATA_BUILD_CONF"
 echo "printf(" >src/build-info.h
-echo "$SURICATA_BUILD_CONF" | sed -e 's/^/"/' | sed -e 's/$/\\n"/' >>src/build-info.h
+echo "$SURICATA_BUILD_CONF" | sed -e 's/^/"/' | sed -e 's/$/\\n"/' \
+                       | sed 's/-fdebug-prefix-map=.*=. //' >>src/build-info.h
 echo ");" >>src/build-info.h
 
 echo "