pkgsrc/cross/binutils/patches/patch-aj
tv ccc8b40071 Major `cross' category overhaul. Clean up the shared Makefiles; move all
binutils stuff (except gas) to a shared, multiple-target binutils build;
reduce extract and compile times by being more specific with files and
targets; update to egcs 1.1.1 with a diffball from NetBSD's src/gnu/dist
tree; add 4.4BSD a.out archive support to binutils.
1999-01-04 22:37:29 +00:00

14 lines
393 B
Text

$NetBSD: patch-aj,v 1.1 1999/01/04 22:37:32 tv Exp $
--- ld/emultempl/elf32.em.orig Fri May 1 11:48:55 1998
+++ ld/emultempl/elf32.em Mon Jan 4 14:11:48 1999
@@ -342,6 +342,9 @@
fi
fi
cat >>e${EMULATION_NAME}.c <<EOF
+ lib_path = (const char *) getenv ("LD_RPATH_LINK");
+ if (gld${EMULATION_NAME}_search_needed (lib_path, l->name, force))
+ break;
}
if (force < 2)