Patch to make the suricata build reproducible This patch makes some changes to the...
authorArturo Borrero Gonzalez <arturo@debian.org>
Wed, 26 Mar 2025 08:28:20 +0000 (09:28 +0100)
committerSascha Steinbiss <satta@debian.org>
Wed, 26 Mar 2025 08:28:20 +0000 (09:28 +0100)
Forwarded: not-needed
Last-Update: 2016-09-05

Gbp-Pq: Name reproducible.patch

configure.ac

index 0335c1fc65aac23a0f4413a85772b0a11b94cc40..9445de080c94c6a57cef7c3b92dc3bf5639df732 100644 (file)
@@ -2738,7 +2738,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 "