Add -Wl,--as-needed

This commit is contained in:
ChangZhuo Chen (陳昌倬) 2015-08-19 19:23:14 +08:00
parent 3e5a9c5d32
commit f0dfdb01fc

2
debian/rules vendored
View File

@ -1,6 +1,8 @@
#!/usr/bin/make -f #!/usr/bin/make -f
#export DH_VERBOSE=1 #export DH_VERBOSE=1
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%: %:
dh $@ --buildsystem cmake --parallel --with quilt dh $@ --buildsystem cmake --parallel --with quilt