Andrew Lee (李健秋) 2dcc119106 debian/rules: Add cmake fix to make reprotest happy.
Signed-off-by: Andrew Lee (李健秋) <ajqlee@debian.org>
2022-06-29 03:14:34 -05:00

19 lines
398 B
Makefile
Executable File

#!/usr/bin/make -f
#export DH_VERBOSE = 1
export LC_ALL=C.UTF-8
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh ${@} --buildsystem cmake
override_dh_missing:
dh_missing --fail-missing
override_dh_auto_configure:
dh_auto_configure -- \
-DBUILD_DEV_UTILS=YES \
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo