source:
scripts/patch/gcc/4.4.0/40-powepc-fixes.patch@
95620ac
Last change on this file since 95620ac was e6c4741, checked in by , 15 years ago | |
---|---|
|
|
File size: 1.0 KB |
-
gcc/config.host
A Temporary Work around for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37739 diff -Naur gcc-4.4.0.orig/gcc/config.host gcc-4.4.0/gcc/config.host
old new 135 135 # On powerpc*-*-linux* use -Wl,--relax to link cc1, 136 136 # if ld is new enough, otherwise force -O1 in CFLAGS. 137 137 host_ppc_relax_xmake_file= 138 host_ld_ver=`${CC} -Wl,--version 2>/dev/null | sed 1q` 139 if echo "$host_ld_ver" | grep GNU > /dev/null; then 140 host_ld_date=`echo $host_ld_ver \ 141 | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'` 142 if test 0"$host_ld_date" -gt 20080806; then 143 host_ppc_relax_xmake_file=rs6000/x-linux-relax 144 fi 145 fi 146 if test -z "${host_ppc_relax_xmake_file}"; then 147 host_ppc_relax_xmake_file=x-cflags-O1 148 fi 138 host_ppc_relax_xmake_file=x-cflags-O1 149 139 host_xmake_file="${host_xmake_file} ${host_ppc_relax_xmake_file}" 150 140 fi 151 141 ;;
Note:
See TracBrowser
for help on using the repository browser.