* testsuite/winsup.api/winsup.exp: Add -mwin32 to gcc flags so windows.h will

be found.
This commit is contained in:
Christopher Faylor 2002-07-07 00:43:28 +00:00
parent 9d6ac54874
commit 952460192a
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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)"