mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +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,9 +388,18 @@ 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
|
||||||
|
ifeq ($(findstring x86_64, $(IMPLICIT_ARCH)),x86_64)
|
||||||
|
ifeq ($(PLATFORM),DARWIN)
|
||||||
|
OPTOPT=-march=core2 -msse3 -mssse3
|
||||||
|
endif
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (0,$(KRANDDEBUG))
|
ifneq (0,$(KRANDDEBUG))
|
||||||
|
|
Loading…
Reference in a new issue