Add -Wl,-O1 -Wl,--as-needed to our LDFLAGS

This commit is contained in:
Jeremy Bicha 2018-12-28 08:33:49 -05:00
parent 0b26d0b56d
commit 1910d5cde0

1
debian/rules vendored
View File

@ -11,6 +11,7 @@ all_binaries := $(shell sed -ne 's/^Package: *//p' < debian/control)
# Ensure the build aborts when there are still references to undefined symbols
# currently fails at least in the im-multipress im module
#LDFLAGS += -Wl,-z,defs
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,--as-needed
APIVER := 3
SONAME := 0