diff --git a/binutils-build-as-needed.diff b/binutils-build-as-needed.diff index 8fe41de..3f1401c 100644 --- a/binutils-build-as-needed.diff +++ b/binutils-build-as-needed.diff @@ -1,13 +1,13 @@ Index: ld/ldmain.c =================================================================== ---- ld/ldmain.c.orig 2011-01-11 11:10:59.000000000 +0100 -+++ ld/ldmain.c 2011-01-11 11:20:56.000000000 +0100 -@@ -284,6 +284,8 @@ main (int argc, char **argv) +--- ld/ldmain.c.orig 2012-09-14 14:10:47.347146972 +0200 ++++ ld/ldmain.c 2012-09-14 14:20:50.004126111 +0200 +@@ -290,6 +290,8 @@ main (int argc, char **argv) link_info.pei386_auto_import = -1; link_info.spare_dynamic_tags = 5; link_info.path_separator = ':'; + if (getenv ("SUSE_ASNEEDED") && atoi(getenv ("SUSE_ASNEEDED")) > 0) -+ add_DT_NEEDED_for_regular = TRUE; ++ input_flags.add_DT_NEEDED_for_regular = TRUE; ldfile_add_arch (""); emulation = get_emulation (argc, argv);