added makefile define SSE2 to enable specially optimized code [Oliver Stöneberg]

This commit is contained in:
Oliver Stöneberg 2014-04-07 09:28:49 +00:00
parent 9a49c214e3
commit 84614d94f4

View File

@ -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 \