source:
scripts/patches/binutils-2.15.90.0.1-genscripts-multilib.patch@
9d5bb4a
Last change on this file since 9d5bb4a was 7f65c0e, checked in by , 19 years ago | |
---|---|
|
|
File size: 1.4 KB |
-
binutils-2.15.90.0.
diff -uNr binutils-2.15.90.0.1-ORIG/ld/genscripts.sh binutils-2.15.90.0.1/ld/genscripts.sh
old new 103 103 if [ "x${host}" = "x${target}" ] ; then 104 104 NATIVE=yes 105 105 USE_LIBPATH=yes 106 skip_libdir=no 106 107 elif [ "x${use_sysroot}" = "xyes" ] ; then 107 108 USE_LIBPATH=yes 109 skip_libdir=no 110 elif [ "x${LIB_PATH}" != "x" ] ; then 111 USE_LIBPATH=yes 112 skip_libdir=yes 108 113 fi 109 114 ;; 110 115 esac … … 125 130 # 126 131 # If the emulparams file set LIBPATH_SUFFIX, prepend an extra copy of 127 132 # the library path with the suffix applied. 128 129 if [ "x${LIB_PATH}" = "x" ] && [ "x${USE_LIBPATH}" = xyes ] ; then 133 if [ "x${USE_LIBPATH}" = xyes ] ; then 130 134 LIB_PATH2= 135 if [ "x${LIB_PATH}" = "x" ] ; then 136 libs="${NATIVE_LIB_DIRS}" 137 else 138 libs=`echo ${LIB_PATH} | sed 's/:/ /g'` 139 LIB_PATH= 140 fi 131 141 132 libs=${NATIVE_LIB_DIRS}133 142 if [ "x${use_sysroot}" != "xyes" ] ; then 134 case " ${libs} " in 135 *" ${libdir} "*) ;; 136 *) libs="${libdir} ${libs}" ;; 137 esac 143 if [ "x${skip_libdir}" != "xyes" ] ; then 144 case " ${libs} " in 145 *" ${libdir} "*) ;; 146 *) libs="${libdir} ${libs}" ;; 147 esac 148 fi 138 149 case " ${libs} " in 139 150 *" ${tool_lib} "*) ;; 140 151 *) libs="${tool_lib} ${libs}" ;;
Note:
See TracBrowser
for help on using the repository browser.