Introduce remainder architecture category for Windows

And explicitly specify Intel 32 bit architectures, where 'mingw32'
is included to support MSYS1.
This commit is contained in:
katjav 2018-01-21 11:42:55 +01:00
parent 37d23530c6
commit f83d4293bd

View file

@ -596,12 +596,14 @@ endif
# TODO: decide whether -mms-bitfields should be specified. # TODO: decide whether -mms-bitfields should be specified.
ifeq ($(system), Windows) ifeq ($(system), Windows)
ifeq ($(findstring $(target.arch), x86_64), $(target.arch)) cpp.flags := -DMSW -DNT
ifeq ($(findstring $(target.arch), i%86 mingw32), $(target.arch))
arch.c.flags := -march=pentium4 -msse -msse2 -mfpmath=sse
else ifeq (x86_64, $(target.arch))
cpp.flags := -DMSW -DNT -DPD_LONGINTTYPE=__int64 cpp.flags := -DMSW -DNT -DPD_LONGINTTYPE=__int64
arch.c.flags := -march=core2 -msse -msse2 -mfpmath=sse arch.c.flags := -march=core2 -msse -msse2 -mfpmath=sse
else else
cpp.flags := -DMSW -DNT arch.c.flags =
arch.c.flags := -march=pentium4 -msse -msse2 -mfpmath=sse
endif endif
extension = dll extension = dll
c.flags := c.flags :=