debian/rules: Drop unneeded -Wl,--as-needed
authorJeremy Bicha <jbicha@debian.org>
Tue, 22 Feb 2022 21:31:52 +0000 (16:31 -0500)
committerJeremy Bicha <jbicha@debian.org>
Tue, 22 Feb 2022 21:31:52 +0000 (16:31 -0500)
Default since Bullseye

debian/rules

index df3e87605d96d969537710e457e765f5c73115fe..c7fbed0f3c67c47da2dde3cfbef1090eed8d6880 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
 
 # Disable SSE2 except on amd64
 ifneq ($(DEB_HOST_ARCH_CPU),amd64)