Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # Uncomment this to turn on verbose mode.
3 #export DH_VERBOSE=1
4
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
6
7 CONFIGURE_OPTION = --disable-tester --disable-silent-rules --enable-static
8 # for armhf arch
9 ifeq ($(DEB_HOST_ARCH),armhf)
10 CONFIGURE_OPTION += --enable-high-precision
11 endif
12
13 %:
14 dh $@ --exclude=.la
15
16 override_dh_auto_configure:
17 dh_auto_configure -- $(CONFIGURE_OPTION)