Commit fc4f33cf authored by Otto Kekäläinen's avatar Otto Kekäläinen

Ensure cmake builds also apply CPPFLAGS flags for hardening to fully work

parent 08b8c5e3
Pipeline #42672 passed with stages
in 186 minutes and 22 seconds
...@@ -7,6 +7,11 @@ export DH_VERBOSE=1 ...@@ -7,6 +7,11 @@ export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/ include /usr/share/dpkg/
# CPPFLAGS are nor read by CMake, so copy them to CXXFLAGS
# See why at
# This is needed for e.g. all automatic Debian hardening flags to apply on all cmake builds.
# Only do a strict symbol checking on Linux # Only do a strict symbol checking on Linux
ifneq (,$(filter linux,$(DEB_HOST_ARCH_OS))) ifneq (,$(filter linux,$(DEB_HOST_ARCH_OS)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment