mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
added makefile define SSE2 to enable specially optimized code [Oliver Stöneberg]
This commit is contained in:
parent
9a49c214e3
commit
84614d94f4
7
makefile
7
makefile
@ -262,6 +262,9 @@ BUILD_MIDILIB = 1
|
||||
# uncomment next line to enable networking
|
||||
# USE_NETWORK = 1
|
||||
|
||||
# uncomment to enable SSE2 optimized code and SSE2 code generation
|
||||
# SSE2 = 1
|
||||
|
||||
# specify optimization level or leave commented to use the default
|
||||
# (default is OPTIMIZE = 3 normally, or OPTIMIZE = 0 with symbols)
|
||||
# OPTIMIZE = 3
|
||||
@ -534,6 +537,10 @@ CCOMFLAGS += -flto
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef SSE2
|
||||
CCOMFLAGS += -msse2
|
||||
endif
|
||||
|
||||
# add a basic set of warnings
|
||||
CCOMFLAGS += \
|
||||
-Wall \
|
||||
|
Loading…
Reference in New Issue
Block a user