mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +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
|
# uncomment next line to enable networking
|
||||||
# USE_NETWORK = 1
|
# 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
|
# specify optimization level or leave commented to use the default
|
||||||
# (default is OPTIMIZE = 3 normally, or OPTIMIZE = 0 with symbols)
|
# (default is OPTIMIZE = 3 normally, or OPTIMIZE = 0 with symbols)
|
||||||
# OPTIMIZE = 3
|
# OPTIMIZE = 3
|
||||||
@ -534,6 +537,10 @@ CCOMFLAGS += -flto
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef SSE2
|
||||||
|
CCOMFLAGS += -msse2
|
||||||
|
endif
|
||||||
|
|
||||||
# add a basic set of warnings
|
# add a basic set of warnings
|
||||||
CCOMFLAGS += \
|
CCOMFLAGS += \
|
||||||
-Wall \
|
-Wall \
|
||||||
|
Loading…
Reference in New Issue
Block a user