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