d/rules: stop adding --as-needed linker flag (it is the default now)
Michael Tokarev
2 years ago
36 | 36 | unbound-config: b/unbound/config.h |
37 | 37 | b/unbound/config.h: |
38 | 38 | PYTHON_VERSION="$(shell py3versions -vd)" \ |
39 | CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="-Wl,--as-needed $(LDFLAGS)" \ | |
39 | CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ | |
40 | 40 | dh_auto_configure -Bb/unbound -- \ |
41 | 41 | --with-pythonmodule \ |
42 | 42 | --with-pyunbound \ |
54 | 54 | # second build: libunbound only, with nettle |
55 | 55 | libunbound-config: b/libunbound/config.h |
56 | 56 | b/libunbound/config.h: |
57 | CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="-Wl,--as-needed $(LDFLAGS)" \ | |
57 | CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ | |
58 | 58 | dh_auto_configure -Bb/libunbound -- \ |
59 | 59 | --with-libunbound-only \ |
60 | 60 | --with-nettle \ |