remove-options LDFLAGS -Wl,--as-needed
remove-options x86_64_pc_linux_gnu_LDFLAGS -Wl,--as-needed
remove-options i686_pc_linux_gnu_LDFLAGS -Wl,--as-needed