]> sourceware.org Git - newlib-cygwin.git/commitdiff
* testsuite/lib/newlib.exp: Add newlib_include_flags to compile
authorThomas Fitzsimmons <fitzsim@redhat.com>
Thu, 16 May 2002 00:17:50 +0000 (00:17 +0000)
committerThomas Fitzsimmons <fitzsim@redhat.com>
Thu, 16 May 2002 00:17:50 +0000 (00:17 +0000)
options when testing natively on i[3456]86-*-linux.

newlib/ChangeLog
newlib/testsuite/lib/newlib.exp

index ade1658e4fa22615cf5b934431733ac91535f913..4fc6eaf649522d040d056c76fcbfbe5f397e02d5 100644 (file)
@@ -1,5 +1,8 @@
 2002-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
 
+       * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
+       options when testing natively on i[3456]86-*-linux.
+
        * testsuite/lib/checkoutput.exp (newlib_check_output): Output
        only one pass or fail per test file.  Trim \r's from output
        values received from test programs.  Remove support for named
index 7c440961891c07797f67f5f96b98865baeef5173..48f527e7a237430e39295110d666ddd974e9dd5d 100644 (file)
@@ -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]"
        }
     }
 
This page took 0.043372 seconds and 5 git commands to generate.