parent
e4d42f2227
commit
77ff876401
1 changed files with 2 additions and 2 deletions
|
|
@ -445,7 +445,7 @@ ifeq ($(uname), Darwin)
|
||||||
system = Darwin
|
system = Darwin
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(findstring $(uname), MINGW MSYS), $(uname))
|
ifeq ($(filter MINGW% MSYS, $(uname)), $(uname))
|
||||||
system = Windows
|
system = Windows
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -606,7 +606,7 @@ endif
|
||||||
# TODO: decide whether -mms-bitfields should be specified.
|
# TODO: decide whether -mms-bitfields should be specified.
|
||||||
ifeq ($(system), Windows)
|
ifeq ($(system), Windows)
|
||||||
cpp.flags := -DMSW -DNT
|
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
|
arch.c.flags := -march=pentium4 -msse -msse2 -mfpmath=sse
|
||||||
else ifeq (x86_64, $(target.arch))
|
else ifeq (x86_64, $(target.arch))
|
||||||
cpp.flags := -DMSW -DNT -DPD_LONGINTTYPE=__int64
|
cpp.flags := -DMSW -DNT -DPD_LONGINTTYPE=__int64
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue