1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export VERBOSE=1
# filter incompatible options from affecting device code
#CXXFLAGS := $(subst -fstack-protector-strong,-Xarch_host -fstack-protector-strong,$(CXXFLAGS))
#CXXFLAGS := $(subst -fcf-protection,-Xarch_host -fcf-protection,$(CXXFLAGS))
CMAKE_FLAGS = \
-DFILE_REORG_BACKWARD_COMPATIBILITY=OFF \
-DBUILD_ROCTRACER64=OFF \
-DROCTRACER_WERROR=OFF
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- $(CMAKE_FLAGS)
|