diff options
author | Thomas Quinot <thomas@FreeBSD.org> | 2007-09-19 12:17:39 +0000 |
---|---|---|
committer | Thomas Quinot <thomas@FreeBSD.org> | 2007-09-19 12:17:39 +0000 |
commit | a0b65c7be0c12cb6a931d9bd08941c6ffcfd19ce (patch) | |
tree | 70d54b07c86ee50272fe42070f2e72e6297eb722 /gnu | |
parent | 5f136916eea05b1e48c953831ba3c07895e7a9c4 (diff) | |
download | src-a0b65c7be0c12cb6a931d9bd08941c6ffcfd19ce.tar.gz src-a0b65c7be0c12cb6a931d9bd08941c6ffcfd19ce.zip |
Notes
Diffstat (limited to 'gnu')
-rwxr-xr-x | gnu/usr.bin/binutils/ld/genscripts.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/ld/genscripts.sh b/gnu/usr.bin/binutils/ld/genscripts.sh index e606424e3147..12d6bb5c04c3 100755 --- a/gnu/usr.bin/binutils/ld/genscripts.sh +++ b/gnu/usr.bin/binutils/ld/genscripts.sh @@ -55,7 +55,10 @@ fi # Set some flags for the emultempl scripts. USE_LIBPATH will # be set for any libpath-using emulation. - USE_LIBPATH=yes +if [ "x${host}" = "x${target}" ] ; then + NATIVE=yes +fi +USE_LIBPATH=yes # Set the library search path, for libraries named by -lfoo. # If LIB_PATH is defined (e.g., by Makefile) and non-empty, it is used. |