source:
scripts/untested/autotools/patches/libtool-1.5-filter-host-tags.patch
@
d1afb9e
Last change on this file since d1afb9e was d1afb9e, checked in by , 18 years ago | |
---|---|
|
|
File size: 1.1 KB |
-
libtool-1.5.10/ltmain.in
Make the infer tag logic a bit more magical since a lot of old packages still exist which utilize this functionality. http://bugs.gentoo.org/show_bug.cgi?id=77921
242 242 esac 243 243 CC_quoted="$CC_quoted $arg" 244 244 done 245 # user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc' 246 trimedcc=`echo ${CC} | $SED -e "s/${host}-//g"` 247 # and sometimes libtool has CC=<HOST>-gcc but user does CC=gcc 248 extendcc=${host}-${CC} 245 249 case "$@ " in 250 "cc "* | " cc "* | "${host}-cc "* | " ${host}-cc "*|\ 251 "gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*) 252 tagname=CC 253 break ;; 254 "$trimedcc "* | " $trimedcc "* | "`$echo $trimedcc` "* | " `$echo $trimedcc` "*|\ 255 "$extendcc "* | " $extendcc "* | "`$echo $extendcc` "* | " `$echo $extendcc` "*|\ 246 256 " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) 247 257 # The compiler in the base compile command matches 248 258 # the one in the tagged configuration.
Note: See TracBrowser
for help on using the repository browser.