Modernize instructions.
diff --git a/ChangeLog b/ChangeLog
index 2dd1c46..a9b8166 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-01 Bruno Haible <bruno@clisp.org>
+
+ * README.woe32: Put the -mno-cygwin option into CC and CXX.
+ Recommended by Paolo Bonzini and Eric Blake.
+
2009-08-15 Bruno Haible <bruno@clisp.org>
* Makefile.devel (AUTOCONF, AUTOHEADER): Switch to version 2.64.
diff --git a/README.woe32 b/README.woe32
index f331fb3..e3ddae6 100644
--- a/README.woe32
+++ b/README.woe32
@@ -26,10 +26,10 @@
PATH=/usr/local/mingw/bin:$PATH
export PATH
./configure --host=i586-pc-mingw32 --prefix=/usr/local/mingw \
- CPPFLAGS="-mno-cygwin -Wall -I/usr/local/mingw/include" \
- CFLAGS="-mno-cygwin -O2 -g" \
- CXXFLAGS="-mno-cygwin -O2 -g" \
- LDFLAGS="-mno-cygwin -L/usr/local/mingw/lib"
+ CC="gcc -mno-cygwin" \
+ CXX="g++ -mno-cygwin" \
+ CPPFLAGS="-Wall -I/usr/local/mingw/include" \
+ LDFLAGS="-L/usr/local/mingw/lib"
The -mno-cygwin tells the cygwin compiler and linker to build for mingw.
The -I and -L option are so that packages previously built for the