* testsuite/winsup.api/winsup.exp: Add -mwin32 to gcc flags so windows.h will
be found.
This commit is contained in:
		@@ -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 
 | 
			
		||||
 
 | 
			
		||||
@@ -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)"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user