d/rules: Don't explicitly use --as-needed linker option
It's the default with bullseye toolchains.
Simon McVittie
3 years ago
7 | 7 | export DEB_CFLAGS_MAINT_APPEND := -pipe -Wall $(MODPLUG_INCLUDE_DIR) |
8 | 8 | # bug #715461, provide default soundfont paths |
9 | 9 | export DEB_CPPFLAGS_MAINT_APPEND := -DMIX_INIT_SOUNDFONT_PATHS=\"/usr/share/sounds/sf3/default-GM.sf3\" |
10 | export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed | |
11 | 10 | |
12 | 11 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) |
13 | 12 |