aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-03-23 17:12:03 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-03-23 17:12:23 +0100
commit1e5f6cbb08e449c6367a63f6c1bf1cad5e10b5ed (patch)
tree45551d8a043b36602a631ffab2ca21c2eb3bc000 /makefile
parent34f55e80f4a58d624e85a814c8809318c3af2e9e (diff)
fixing the assert dilema
fix
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)