debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | #export DH_VERBOSE = 1 |
| 3 | |
| 4 | export LC_ALL=C.UTF-8 |
| 5 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto |
| 6 | |
| 7 | |
| 8 | %: |
| 9 | dh ${@} --buildsystem cmake |
| 10 | |
| 11 | override_dh_auto_configure: |
| 12 | dh_auto_configure -- \ |
| 13 | -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ |
| 14 | -DBUILD_DEV_UTILS=NO \ |
| 15 | -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \ |
| 16 | -DCMAKE_BUILD_TYPE=RelWithDebInfo |
| 17 | |
| 18 | execute_before_dh_auto_build: |
| 19 | @echo "blhc: ignore-line-regexp: .*/CMakeCXXCompilerABI[.]cpp.*" |