]> source.dussan.org Git - rspamd.git/commit
[Minor] Debian: set fixfilepath reproducible build option
authorPeter Wu <peter@lekensteyn.nl>
Mon, 20 Jan 2020 22:32:15 +0000 (22:32 +0000)
committerPeter Wu <peter@lekensteyn.nl>
Mon, 20 Jan 2020 22:36:00 +0000 (22:36 +0000)
commita91a3bc6e0a94ff8ba807590983c4af789aa7022
treefb8abdcfb7f87b7e11f02e28039345055c83b72d
parent561607b0d7dfd46c5967d26b66496477bb70ff92
[Minor] Debian: set fixfilepath reproducible build option

* Enable -ffile-prefix-map to ensure that assert statements in
  contrib/libev/ev.c and other places do not store the full file path.
  This ensures reproducible builds, invariant of the build directory.
  Supported since dpkg 1.19.1, including Debian buster and Ubuntu 19.04.
* Enable all hardening features while at it, this adds bindnow only. See
  https://manpages.debian.org/buster/dpkg-dev/dpkg-buildflags.1.en.html
debian/rules