mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
Makefile: Add extra optimization defaults for OS X builds since all Intel Macs are guaranteed certain features due to the time of their debut.
git-svn-id: https://svn.eduke32.com/eduke32@5763 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
5a6aa914a4
commit
ca619df429
1 changed files with 11 additions and 2 deletions
|
@ -388,10 +388,19 @@ endif
|
|||
|
||||
ifndef OPTOPT
|
||||
ifeq ($(findstring i386, $(IMPLICIT_ARCH)),i386)
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
OPTOPT=-march=nocona -mmmx -msse -msse2 -msse3
|
||||
else
|
||||
OPTOPT=-march=pentium3 $(M_TUNE_GENERIC) -mmmx
|
||||
# -msse2 -mfpmath=sse,387 -malign-double $(M_STACKREALIGN)
|
||||
endif
|
||||
endif
|
||||
ifeq ($(findstring x86_64, $(IMPLICIT_ARCH)),x86_64)
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
OPTOPT=-march=core2 -msse3 -mssse3
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (0,$(KRANDDEBUG))
|
||||
RELEASE=0
|
||||
|
|
Loading…
Reference in a new issue