katana/packaging/debian/katanalibs/rules
Ivailo Monev 28b8b64992 packaging: build major packages with -Wl,--as-needed in LDFLAGS
Arch and Fedora are already using it for many, if not all, packages. I am
not using them for all packages since I want to catch and solve the rest
myself, that includes Katie

related to https://github.com/fluxer/katana/issues/7 for which most of the
required build system changes have been done where needed

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-11 03:31:30 +00:00

11 lines
208 B
Makefile
Executable file

#!/usr/bin/make -f
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@ --parallel
override_dh_auto_configure:
dh_auto_configure -- -Wno-dev \
-DENABLE_TESTING=OFF \
-DSYSCONF_INSTALL_DIR=/etc