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

Unified Diff: gcc/libgomp/testsuite/lib/libgomp.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/libgomp/sections.c ('k') | gcc/libgomp/testsuite/libgomp.c++/task-1.C » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/libgomp/testsuite/lib/libgomp.exp
diff --git a/gcc/libgomp/testsuite/lib/libgomp.exp b/gcc/libgomp/testsuite/lib/libgomp.exp
index 972d4a1fdd3f6124edc9a7d3d8065cc60ab92030..0b0b608bf9e53c0fb6a05bc936f5a0a217bb4633 100644
--- a/gcc/libgomp/testsuite/lib/libgomp.exp
+++ b/gcc/libgomp/testsuite/lib/libgomp.exp
@@ -66,6 +66,13 @@ proc libgomp_init { args } {
setenv LC_ALL C
setenv LANG C
+ # Many hosts now default to a non-ASCII C locale, however, so
+ # they can set a charset encoding here if they need.
+ if { [ishost "*-*-cygwin*"] } {
+ setenv LC_ALL C.ASCII
+ setenv LANG C.ASCII
+ }
+
if ![info exists GCC_UNDER_TEST] then {
if [info exists TOOL_EXECUTABLE] {
set GCC_UNDER_TEST $TOOL_EXECUTABLE
@@ -123,6 +130,9 @@ proc libgomp_init { args } {
set ALWAYS_CFLAGS ""
if { $blddir != "" } {
lappend ALWAYS_CFLAGS "additional_flags=-B${blddir}/"
+ # targets that use libgomp.a%s in their specs need a -B option
+ # for uninstalled testing.
+ lappend ALWAYS_CFLAGS "additional_flags=-B${blddir}/.libs"
lappend ALWAYS_CFLAGS "additional_flags=-I${blddir}"
lappend ALWAYS_CFLAGS "ldflags=-L${blddir}/.libs"
}
« no previous file with comments | « gcc/libgomp/sections.c ('k') | gcc/libgomp/testsuite/libgomp.c++/task-1.C » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698