SHA256
1
0
forked from pool/binutils
binutils/binutils-build-as-needed.diff

14 lines
487 B
Diff
Raw Normal View History

Index: ld/ldmain.c
===================================================================
--- ld/ldmain.c.orig 2009-06-09 14:34:35.000000000 +0200
+++ ld/ldmain.c 2009-06-09 14:47:37.000000000 +0200
@@ -277,6 +277,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_IGNORED_RPATHS"))
+ as_needed = TRUE;
ldfile_add_arch ("");
emulation = get_emulation (argc, argv);