Revert "build as needed" 99/34999/2
authorYury Usishchev <y.usishchev@samsung.com>
Wed, 4 Feb 2015 17:55:30 +0000 (20:55 +0300)
committerYury Usishchev <y.usishchev@samsung.com>
Thu, 26 Feb 2015 12:21:39 +0000 (04:21 -0800)
This reverts commit b0d634fa440496e36c79b2d37c658989d8cdaa3d.

Change-Id: I77a9c7c82651ee45c97ba51e307c476daad73970
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
ld/ldmain.c

index a507680..7b2d703 100644 (file)
@@ -291,8 +291,6 @@ main (int argc, char **argv)
   link_info.pei386_auto_import = -1;
   link_info.spare_dynamic_tags = 5;
   link_info.path_separator = ':';
-  if (getenv ("LD_AS_NEEDED") && atoi(getenv ("LD_AS_NEEDED")) > 0)
-    input_flags.add_DT_NEEDED_for_regular = TRUE;
 
   ldfile_add_arch ("");
   emulation = get_emulation (argc, argv);