X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46c0c2dcf2b618a5701e73b6cda431e74899cc41..41d368a4bb7a73fbc5ce054dbc205a57241cf0da:/src/makeg95.env diff --git a/src/makeg95.env b/src/makeg95.env index 9c1514fdd8..a84cdd4ab3 100644 --- a/src/makeg95.env +++ b/src/makeg95.env @@ -57,8 +57,12 @@ COPY=cp # _GCC295 means GCC is GCC 2.95 # _GCC3 mans GCC is 3.x or better (can actually just be 3.1 or better # for Cygwin/MinGW) -_GCC295=$(if $(findstring 2.95, $(MINGW32VERSION)), 1,) -_GCC3=$(if $(findstring 3., $(MINGW32VERSION)), 1,) +ifneq (,$(findstring 2.95, $(MINGW32VERSION))) + _GCC295=1 +endif +ifneq (,$(findstring 3., $(MINGW32VERSION))) + _GCC3=1 +endif ifeq ($(MINGW32),1) ifneq "$(_GCC295)$(_GCC3)" ""