Module Name:    src
Committed By:   christos
Date:           Sat May 19 21:20:35 UTC 2018

Modified Files:
        src/external/gpl3/binutils/dist/ld/emultempl: elf32.em

Log Message:
don't prepend sysroots when we already have prepended it (breaks X11 binaries)


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 \
    src/external/gpl3/binutils/dist/ld/emultempl/elf32.em

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/binutils/dist/ld/emultempl/elf32.em
diff -u src/external/gpl3/binutils/dist/ld/emultempl/elf32.em:1.16 src/external/gpl3/binutils/dist/ld/emultempl/elf32.em:1.17
--- src/external/gpl3/binutils/dist/ld/emultempl/elf32.em:1.16	Sun May  6 10:46:58 2018
+++ src/external/gpl3/binutils/dist/ld/emultempl/elf32.em	Sat May 19 17:20:35 2018
@@ -1484,7 +1484,7 @@ fragment <<EOF
 	  if (path)
 	    {
 	      path = gld${EMULATION_NAME}_add_sysroot (path);
-	      found = gld${EMULATION_NAME}_search_needed (path, &n, force, 1);
+	      found = gld${EMULATION_NAME}_search_needed (path, &n, force, 0);
 	      free ((char *) path);
 	      if (found)
 		break;

Reply via email to