d/rules: disable hardening (they were not added in official builds anyway)

After upgrading compat level to 10 (in previous commit to avoid warning
on debian:testing, and this is not just a warning, but the compat level
implicitly changed to 10), hardening became working, since it requires
compat level >= 9 [1]

  [1]: https://wiki.debian.org/Hardening

While hardening for clickhouse builds should not be used, so just
disable them.
This commit is contained in:
Azat Khuzhin 2020-12-22 22:56:44 +03:00
parent 08beb3ad64
commit 0325203759

2
debian/rules vendored
View File

@ -5,7 +5,7 @@
export DH_VERBOSE=1
# -pie only for static mode
export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
export DEB_BUILD_MAINT_OPTIONS=hardening=-all
# because copy_headers.sh have hardcoded path to build/include_directories.txt
BUILDDIR = obj-$(DEB_HOST_GNU_TYPE)