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:
hendricks266 2016-06-03 04:50:52 +00:00
parent 5a6aa914a4
commit ca619df429

View file

@ -388,10 +388,19 @@ endif
ifndef OPTOPT ifndef OPTOPT
ifeq ($(findstring i386, $(IMPLICIT_ARCH)),i386) ifeq ($(findstring i386, $(IMPLICIT_ARCH)),i386)
ifeq ($(PLATFORM),DARWIN)
OPTOPT=-march=nocona -mmmx -msse -msse2 -msse3
else
OPTOPT=-march=pentium3 $(M_TUNE_GENERIC) -mmmx OPTOPT=-march=pentium3 $(M_TUNE_GENERIC) -mmmx
# -msse2 -mfpmath=sse,387 -malign-double $(M_STACKREALIGN) # -msse2 -mfpmath=sse,387 -malign-double $(M_STACKREALIGN)
endif endif
endif endif
ifeq ($(findstring x86_64, $(IMPLICIT_ARCH)),x86_64)
ifeq ($(PLATFORM),DARWIN)
OPTOPT=-march=core2 -msse3 -mssse3
endif
endif
endif
ifneq (0,$(KRANDDEBUG)) ifneq (0,$(KRANDDEBUG))
RELEASE=0 RELEASE=0