[project @ 2001-05-16 09:55:27 by rrt]
authorrrt <unknown>
Wed, 16 May 2001 09:55:27 +0000 (09:55 +0000)
committerrrt <unknown>
Wed, 16 May 2001 09:55:27 +0000 (09:55 +0000)
Add -mwin32 to CFLAGS for win32.

distrib/configure-bin.in

index 2c42b52..bd5882b 100644 (file)
@@ -55,9 +55,9 @@ i[[3456]]86-*-mingw32*)
        exeext='.exe'
        # We assume you're using mingw32 via the gcc that comes
        # with cygwin, and not the native port, so let's augment
-       # the gcc command-line used here with -mno-cygwin to
-       # arrange for good things to happen.
-       CFLAGS="-mno-cygwin $CFLAGS"
+       # the gcc command-line used here with -mno-cygwin -mwin32
+       # to arrange for good things to happen.
+       CFLAGS="-mno-cygwin -mwin32 $CFLAGS"
        TargetPlatform=i386-unknown-mingw32
        ;;
 m68k-next-nextstep2)