Add -Wl,--as-needed to LDFLAGS

This commit is contained in:
ChangZhuo Chen (陳昌倬) 2015-06-17 19:50:17 +08:00 committed by Andrew Lee (李健秋)
parent f6dcf21350
commit f29a872b95

6
debian/rules vendored
View File

@ -1,6 +1,12 @@
#!/usr/bin/make -f
#export DH_VERBOSE = 1
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
%:
dh ${@} --buildsystem cmake --parallel \
--dbg-package=libqt5xdg1-dbg \