summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2018-12-15 15:40:40 +0100
committerAndrej Shadura <andrewsh@debian.org>2018-12-15 17:40:50 +0100
commit26c2711879c03ae50fd11096699c0a0640769d4b (patch)
treec1673ec3af23f18a15e26391a76ad9448144d2a1
parentd86952f6b90ea4fd425d22a27f15103186dc12ce (diff)
Make wpa_supplicant reproducible.debian/2%2.6-21
This change makes the wpa package reproducible on Debian's unstable as well as the experimental branch by removing `.note.gnu.build-id` section from the binary header. Based on a patch by Liyun Li <liyun@nyu.edu>.
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 38ef127..42c816d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ include /usr/share/dpkg/default.mk
# enable the missing (hardening) flags
DEB_CFLAGS_MAINT_APPEND = -MMD -Wall $(shell dpkg-buildflags --get CPPFLAGS)
DEB_CXXFLAGS_MAINT_APPEND = $(shell dpkg-buildflags --get CPPFLAGS)
-DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,--build-id=none
export DEB_CFLAGS_MAINT_APPEND DEB_CXXFLAGS_MAINT_APPEND DEB_LDFLAGS_MAINT_APPEND
UCFLAGS = -MMD -Wall -g -Os -fPIC