aboutsummaryrefslogtreecommitdiff
path: root/newlib/testsuite
diff options
context:
space:
mode:
authorThomas Fitzsimmons <fitzsim@redhat.com>2002-05-16 00:17:50 +0000
committerThomas Fitzsimmons <fitzsim@redhat.com>2002-05-16 00:17:50 +0000
commita68fa571015ee98e51c21f2189c6ffed8e0314ba (patch)
treec5a3013ed675bc3cef6cb9463970ee5e913e5aad /newlib/testsuite
parent3a6cb01ba927e8634c3b9bba448049fe22a90f66 (diff)
downloadnewlib-a68fa571015ee98e51c21f2189c6ffed8e0314ba.zip
newlib-a68fa571015ee98e51c21f2189c6ffed8e0314ba.tar.gz
newlib-a68fa571015ee98e51c21f2189c6ffed8e0314ba.tar.bz2
* testsuite/lib/newlib.exp: Add newlib_include_flags to compile
options when testing natively on i[3456]86-*-linux.
Diffstat (limited to 'newlib/testsuite')
-rw-r--r--newlib/testsuite/lib/newlib.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/testsuite/lib/newlib.exp b/newlib/testsuite/lib/newlib.exp
index 7c44096..48f527e 100644
--- a/newlib/testsuite/lib/newlib.exp
+++ b/newlib/testsuite/lib/newlib.exp
@@ -69,7 +69,7 @@ proc newlib_target_compile { source dest type options } {
if [string match $host_triplet $target_triplet] then {
if [string match "i686-pc-linux-gnu" $host_triplet] then {
lappend options "libs=$objdir/crt0.o -lc -lgcc"
- lappend options "ldflags=-nostdlib -L$objdir/.libs"
+ lappend options "ldflags=-nostdlib -L$objdir/.libs [newlib_include_flags]"
}
}