instead of RPATHs. Borrowed from Gentoo. svn path=/nixpkgs/branches/stdenv-updates/; revision=11930wip/yesman
parent
e1410edbc9
commit
25245042c2
@ -1,12 +0,0 @@ |
||||
source $stdenv/setup |
||||
|
||||
patchConfigure() { |
||||
# Clear the default library search path. |
||||
if test "$noSysDirs" = "1"; then |
||||
echo 'NATIVE_LIB_DIRS=' >> ld/configure.tgt |
||||
fi |
||||
} |
||||
|
||||
preConfigure=patchConfigure |
||||
|
||||
genericBuild |
@ -0,0 +1,10 @@ |
||||
--- binutils/ld/ldmain.c
|
||||
+++ binutils/ld/ldmain.c
|
||||
@@ -296,6 +296,7 @@ main (int argc, char **argv)
|
||||
|
||||
link_info.allow_undefined_version = TRUE;
|
||||
link_info.keep_memory = TRUE;
|
||||
+ link_info.new_dtags = TRUE;
|
||||
link_info.combreloc = TRUE;
|
||||
link_info.strip_discarded = TRUE;
|
||||
link_info.callbacks = &link_callbacks;
|
Loading…
Reference in new issue