diff options
author | Christopher Faylor <me@cgf.cx> | 2002-07-07 00:43:28 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-07-07 00:43:28 +0000 |
commit | 952460192af7d9b0f072e9279baa9138570a9c08 (patch) | |
tree | a310bc1a5537df7643cdabfdf080a2b1e061db5c /winsup/testsuite | |
parent | 9d6ac548749cbdab1a5200656ecae34fce78673f (diff) | |
download | newlib-952460192af7d9b0f072e9279baa9138570a9c08.zip newlib-952460192af7d9b0f072e9279baa9138570a9c08.tar.gz newlib-952460192af7d9b0f072e9279baa9138570a9c08.tar.bz2 |
* testsuite/winsup.api/winsup.exp: Add -mwin32 to gcc flags so windows.h will
be found.
Diffstat (limited to 'winsup/testsuite')
-rw-r--r-- | winsup/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/testsuite/winsup.api/winsup.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/testsuite/ChangeLog b/winsup/testsuite/ChangeLog index 297ba09..424e924 100644 --- a/winsup/testsuite/ChangeLog +++ b/winsup/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-07-06 Christopher Faylor <cgf@redhat.com> + + * testsuite/winsup.api/winsup.exp: Add -mwin32 to gcc flags so + windows.h will be found. + 2002-07-04 Egor Duda <deo@logos-m.ru> * winsup.api/pthread/cancel1.c: New test. Port from pthreads-win32 diff --git a/winsup/testsuite/winsup.api/winsup.exp b/winsup/testsuite/winsup.api/winsup.exp index 1d45c95..c47ae9a 100644 --- a/winsup/testsuite/winsup.api/winsup.exp +++ b/winsup/testsuite/winsup.api/winsup.exp @@ -48,7 +48,7 @@ foreach src [glob -nocomplain $srcdir/$subdir/*.c $srcdir/$subdir/*/*.c] { clear_xfail } - ws_spawn "$CC -g3 $CFLAGS $src $add_includes $add_libs $runtime_root/binmode.o $runtime_root/new-libcygwin.a -o $base.exe" + ws_spawn "$CC -g3 -mwin32 $CFLAGS $src $add_includes $add_libs $runtime_root/binmode.o $runtime_root/new-libcygwin.a -o $base.exe" if { $rv != "" } { verbose -log "$rv" fail "$testcase (compile)" |