Index: ld/ldmain.c =================================================================== --- ld/ldmain.c.orig 2016-01-27 13:44:14.092983985 +0100 +++ ld/ldmain.c 2016-01-27 13:44:37.389254054 +0100 @@ -286,6 +286,8 @@ main (int argc, char **argv) #ifdef DEFAULT_FLAG_COMPRESS_DEBUG link_info.compress_debug = COMPRESS_DEBUG_GABI_ZLIB; #endif + if (getenv ("SUSE_ASNEEDED") && atoi(getenv ("SUSE_ASNEEDED")) > 0) + input_flags.add_DT_NEEDED_for_regular = TRUE; ldfile_add_arch (""); emulation = get_emulation (argc, argv);