Fix conditional checks broken in commits e4d42f2 and f83d429

This commit is contained in:
katjav 2018-01-21 22:42:47 +01:00
parent e4d42f2227
commit 77ff876401

View file

@ -445,7 +445,7 @@ ifeq ($(uname), Darwin)
system = Darwin
endif
ifeq ($(findstring $(uname), MINGW MSYS), $(uname))
ifeq ($(filter MINGW% MSYS, $(uname)), $(uname))
system = Windows
endif
@ -606,7 +606,7 @@ endif
# TODO: decide whether -mms-bitfields should be specified.
ifeq ($(system), Windows)
cpp.flags := -DMSW -DNT
ifeq ($(findstring $(target.arch), i%86 mingw32), $(target.arch))
ifeq ($(filter i%86 mingw32, $(target.arch)), $(target.arch))
arch.c.flags := -march=pentium4 -msse -msse2 -mfpmath=sse
else ifeq (x86_64, $(target.arch))
cpp.flags := -DMSW -DNT -DPD_LONGINTTYPE=__int64