Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 #export DH_VERBOSE = 1
3
4 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
5
6 %:
7 dh $@
8
9 override_dh_auto_configure:
10 dh_auto_configure -- \
11 -DCMAKE_BUILD_TYPE=Release \
12 -DISPC_INCLUDE_TESTS=OFF \
13 -DISPC_INCLUDE_EXAMPLES=OFF \
14 -DISPC_INCLUDE_RT=ON \
15 -DISPC_INCLUDE_UTILS=OFF \
16 -DISPC_LIBRARY=OFF \
17 -DCMAKE_CXX_FLAGS="-gdwarf-4" # dwz do not support Clang DWARFv5, see #1016936
18
19 override_dh_auto_build:
20 @echo 'blhc: ignore-line-regexp: \[\ ?\ ?[0-9]+%\]\ Building\ CXX\ object\ .+\.(cpp|cc)\.o'
21 dh_auto_build
22
23 override_dh_dwz:
24 dh_dwz --exclude=bin # To work-around Lintian stripped-library error.