summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@reproducible-builds.org>2022-02-23 00:02:43 +0000
committerVagrant Cascadian <vagrant@debian.org>2022-02-22 16:58:57 -0800
commitbf4a9671d1780a724ac890f14476669b248c474c (patch)
tree367e8611786e35dea3b9a6b3208d3f6e779c30ee
parent928a4bee26c74b5cb26d6a165be19f8d626d99f6 (diff)
debian/rules: Pass -ffile-prefix-map via CFLAGS. Closes: #1006302
https://reproducible-builds.org/docs/build-path/
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 36bf3a3..bc7a426 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
#
# Debian rules extensively rewritten by Martin Mitchell <martin@debian.org>
-CFLAGS = -O2 -g -Wall -DUNIX -DNOPROTO
+CFLAGS = -O2 -g -Wall -DUNIX -DNOPROTO -ffile-prefix-map=$(CURDIR)=.
LDFLAGS = -s
ARCH = $(shell dpkg --print-installation-architecture)
STRIP=strip --strip-unneeded --remove-section=.note --remove-section=.comment