1
1

work around issue where $CC might be multiword and would leave stuff in the

extra linker flags.  Reported by Bert Wesarg.

This commit was SVN r13774.
Этот коммит содержится в:
Brian Barrett 2007-02-24 22:18:44 +00:00
родитель 7ce72af158
Коммит ada2316fd3

Просмотреть файл

@ -76,11 +76,11 @@ ompi_check_linker_flags_work
cmd="$libtool --dry-run --mode=link --tag=CC $CC bar.lo libfoo.la -o bar $extra_flags" cmd="$libtool --dry-run --mode=link --tag=CC $CC bar.lo libfoo.la -o bar $extra_flags"
ompi_check_linker_flags_work yes ompi_check_linker_flags_work yes
output=`echo $output | sed -e "s/^$CC//"`
eval "set $output" eval "set $output"
extra_ldflags= extra_ldflags=
while test -n "[$]1"; do while test -n "[$]1"; do
case "[$]1" in case "[$]1" in
$CC) ;;
*.libs/bar*) ;; *.libs/bar*) ;;
bar*) ;; bar*) ;;
-I*) ;; -I*) ;;