Patch to make the suricata build reproducible This patch makes some changes to the...
authorArturo Borrero Gonzalez <arturo@debian.org>
Mon, 30 Aug 2021 18:56:18 +0000 (19:56 +0100)
committerSascha Steinbiss <satta@debian.org>
Mon, 30 Aug 2021 18:56:18 +0000 (19:56 +0100)
Forwarded: not-needed
Last-Update: 2016-09-05

Gbp-Pq: Name reproducible.patch

configure.ac

index 7aa8f134456d41b920697c67f7afe7371899af79..d7c59014f3839b0b30a4bfdc93867e07875aa071 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 "