diff options
author | Vagrant Cascadian <vagrant@reproducible-builds.org> | 2022-03-11 19:59:15 +0000 |
---|---|---|
committer | Vagrant Cascadian <vagrant@reproducible-builds.org> | 2022-09-22 11:14:46 -0700 |
commit | bf8961ce47df03db46cb33c73f16beb3a3d9c314 (patch) | |
tree | 14ac4c37da66b634d2bbc962055855a0fc0c951f | |
parent | 41c9ac3d68c8a1fcd3a07c801fe057cd97604904 (diff) |
debian/rules: Use standard buildflags.
(Closes: #1007137)
The default dpkg-buildflags include best practices flags, such as
passing -ffile-prefix-map to remove build paths.
https://reproducible-builds.org/docs/build-path/
-rwxr-xr-x | debian/rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 1174ea0..2b3cca0 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,9 @@ STRIP = strip --remove-section=.comment --remove-section=.note BUILD_DATE=$(shell dpkg-parsechangelog --show-field Date) +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + build: $(checkdir) dh_autoreconf |