* config/default.exp (gcc_gas_flag, dlltool_gas_flag): Define to

empty for testing an installed toolchain.
This commit is contained in:
Joseph Myers 2008-02-26 12:29:10 +00:00
parent 3276085244
commit b67ce46f15
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-02-26 Joseph Myers <joseph@codesourcery.com>
* config/default.exp (gcc_gas_flag, dlltool_gas_flag): Define to
empty for testing an installed toolchain.
2008-02-04 Bob Wilson <bob.wilson@acm.org>
* binutils-all/objdump.exp (cpus_expected): Add xtensa.

View File

@ -94,8 +94,14 @@ if {[file isfile ld/ld-new[exe_ext]]} then {
} else {
link_or_copy ld/ld-new ld[exe_ext]
}
set gcc_gas_flag "-B[pwd]/tmpdir/gas/"
set dlltool_gas_flag "-S [pwd]/tmpdir/gas/as[exe_ext]"
if {[file isfile tmpdir/gas/as[exe_ext]]} then {
set gcc_gas_flag "-B[pwd]/tmpdir/gas/"
set dlltool_gas_flag "-S [pwd]/tmpdir/gas/as[exe_ext]"
} else {
# Testing an installed toolchain.
set gcc_gas_flag ""
set dlltool_gas_flag ""
}
#
# binutils_run