diff options
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -5,6 +5,7 @@ CM_OPT_ASSERT_PATH ?= <assert.h> CM_OPT_RELEASE ?= 1 CM_OPT_ENABLE_UBSAN ?= 0 CM_OPT_ENABLE_ASAN ?= 0 +CM_OPT_ENABLE_SSE2 ?= 0 CC ?= gcc @@ -39,6 +40,10 @@ ifeq ($(CM_OPT_ENABLE_ASAN),1) CM_CC_FLAGS += -fsanitize=address endif +ifeq ($(CM_OPT_ENABLE_SSE2),1) + CM_CC_FLAGS += -DCM_SSE2=1 +endif + .PHONY: all all: $(CM_OBJECT) $(CM_DEMO) |
