| 1 |
|
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=+all |
| 4 |
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 |
| 5 |
export GTEST_FILTER = -*Live*:*.FamilyV4ServiceName/*:LibraryTest.GetTCPSock |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --buildsystem=cmake+ninja |
| 9 |
|
| 10 |
|
| 11 |
override_dh_autoreconf: |
| 12 |
|
| 13 |
override_dh_auto_configure: |
| 14 |
dh_auto_configure -- \ |
| 15 |
-DCARES_BUILD_TOOLS=OFF \ |
| 16 |
-DCARES_SHARED=ON \ |
| 17 |
-DCARES_STATIC=ON \ |
| 18 |
-DCARES_SYMBOL_HIDING=ON \ |
| 19 |
-DCARES_BUILD_TESTS=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON) |
| 20 |
|
| 21 |
execute_before_dh_auto_build: |
| 22 |
|
| 23 |
|
| 24 |
@echo 'blhc: ignore-line-regexp: .* -o test/.*' |