aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefile b/makefile
index 23806fb..65bacfc 100644
--- a/makefile
+++ b/makefile
@@ -1,7 +1,7 @@
.SUFFIXES:
CM_OPT_CC_FLAGS ?=
-CM_OPT_ASSERT_PATH ?= <assert.h>
+CM_OPT_PANIC_NAME ?= panic_impl
CM_OPT_RELEASE ?= 1
CM_OPT_ENABLE_UBSAN ?= 0
CM_OPT_ENABLE_ASAN ?= 0
@@ -25,7 +25,7 @@ CM_CC_FLAGS := \
-MMD -MP -I$(CM_DIR)
CM_CC_FLAGS += $(CM_OPT_CC_FLAGS)
-CM_CC_FLAGS += -DCM_OPT_ASSERT_PATH='$(CM_OPT_ASSERT_PATH)'
+CM_CC_FLAGS += -DCM_OPT_PANIC_NAME='$(CM_OPT_PANIC_NAME)'
ifeq ($(CM_OPT_RELEASE),1)
CM_CC_FLAGS += -O2 -fno-stack-protector
@@ -42,7 +42,7 @@ ifeq ($(CM_OPT_ENABLE_ASAN),1)
endif
ifeq ($(CM_OPT_ENABLE_SSE2),1)
- CM_CC_FLAGS += -DCM_SSE2=1 -msse2
+ CM_CC_FLAGS += -DCM_OPT_ENABLE_SSE2=1 -msse2
endif
ifeq ($(CM_OPT_STANDALONE),1)