Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: gcc/gcc/testsuite/lib/target-libpath.exp

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/lib/objc-torture.exp ('k') | gcc/gcc/testsuite/lib/target-supports.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/lib/target-libpath.exp
diff --git a/gcc/gcc/testsuite/lib/target-libpath.exp b/gcc/gcc/testsuite/lib/target-libpath.exp
index c95cba6d78481151a4f156cfac40e8c9ebe58c32..6a01d9498e71253eb7211b32820f03b58b7a9680 100644
--- a/gcc/gcc/testsuite/lib/target-libpath.exp
+++ b/gcc/gcc/testsuite/lib/target-libpath.exp
@@ -213,16 +213,16 @@ proc restore_ld_library_path_env_vars { } {
global orig_gcc_exec_prefix
global env
- if { $orig_environment_saved == 0 } {
- return
- }
-
if { $orig_gcc_exec_prefix_saved } {
setenv GCC_EXEC_PREFIX "$orig_gcc_exec_prefix"
} elseif [info exists env(GCC_EXEC_PREFIX)] {
unsetenv GCC_EXEC_PREFIX
}
+ if { $orig_environment_saved == 0 } {
+ return
+ }
+
if { $orig_ld_library_path_saved } {
setenv LD_LIBRARY_PATH "$orig_ld_library_path"
} elseif [info exists env(LD_LIBRARY_PATH)] {
« no previous file with comments | « gcc/gcc/testsuite/lib/objc-torture.exp ('k') | gcc/gcc/testsuite/lib/target-supports.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698