target-libpath.exp (set_ld_library_path_env_vars): Correct TEST_GCC_EXEC_PREFIX test to check existence as a tcl variable...

* lib/target-libpath.exp (set_ld_library_path_env_vars):
	Correct TEST_GCC_EXEC_PREFIX test to check existence as a tcl
	variable, not environment variable.

From-SVN: r144997
This commit is contained in:
Hans-Peter Nilsson 2009-03-22 14:59:14 +00:00 committed by Hans-Peter Nilsson
parent f3ed1d0222
commit 78425caa1d
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2009-03-22 Hans-Peter Nilsson <hp@axis.com>
* lib/target-libpath.exp (set_ld_library_path_env_vars):
Correct TEST_GCC_EXEC_PREFIX test to check existence as a tcl
variable, not environment variable.
2009-03-21 Jason Merrill <jason@redhat.com>
PR c++/28879

View file

@ -1,4 +1,4 @@
# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -69,7 +69,7 @@ proc set_ld_library_path_env_vars { } {
# Set GCC_EXEC_PREFIX for the compiler under test to pick up files not in
# the build tree from a specified location (normally the install tree).
if [info exists env(TEST_GCC_EXEC_PREFIX)] {
if [info exists TEST_GCC_EXEC_PREFIX] {
setenv GCC_EXEC_PREFIX "$TEST_GCC_EXEC_PREFIX"
}