Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 include /usr/share/dpkg/architecture.mk
7
8 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
9
10 %:
11 dh $@
12
13 override_dh_auto_configure:
14 # basilgello: -DCMAKE_INSTALL_DIR silences Kodi buildsystem
15 # warning triggered by dh_configure unnecessarily overriding
16 # install directory
17 # -DUSE_LTO=0 disables LTO and makes build reproducible
18 dh_auto_configure -- -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo \
19 -DBUILD_SHARED_LIBS=1 \
20 -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/kodi \
21 -DUSE_LTO=0