Fixed some typos that occured in applying patch 606235.
[wxWidgets.git] / src / makeg95.env
index f896f4ef1877cba5a8583f62608cf44514f3015f..39f402da26cea12c8634ec620f64aa6971d06b1c 100644 (file)
@@ -15,7 +15,8 @@
 MINGW32=1
 
 # Set to the version you have
-MINGW32VERSION=2.95
+#MINGW32VERSION=2.95
+MINGW32VERSION=3.0
 
 # If building DLL, the version
 WXVERSION=233
@@ -63,7 +64,11 @@ endif
 
 ifeq ($(MINGW32),1)
   ifneq "$(_GCC295)$(_GCC3)" ""
-    CC = gcc --pipe $(if $(_GCC3), , -fvtable-thunks)
+    ifeq ($(_GCC3),1)
+      CC = gcc --pipe
+    else
+      CC = gcc --pipe -fvtable-thunks
+    endif
   else
     CC = gcc
   endif