Patch to make the suricata build reproducible This patch makes some changes to the...
authorArturo Borrero Gonzalez <arturo@debian.org>
Sat, 8 May 2021 12:21:01 +0000 (13:21 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Sat, 8 May 2021 12:21:01 +0000 (13:21 +0100)
Forwarded: not-needed
Last-Update: 2016-09-05

Gbp-Pq: Name reproducible.patch

configure.ac

index ed44907ac001cdcfd934f10fa29012d1635928c6..b5b87af267a3ad237b4ad63612df71940504019e 100644 (file)
@@ -2873,7 +2873,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 "