mirror of
https://github.com/heiher/natmap.git
synced 2026-09-03 06:25:42 +08:00
Build: Enable task stack overflow detector.
This commit is contained in:
3
Makefile
3
Makefile
@@ -22,6 +22,7 @@ THIRDPARTS=$(THIRDPARTDIR)/hev-task-system
|
||||
|
||||
-include build.mk
|
||||
CCFLAGS+=$(VERSION_CFLAGS)
|
||||
TPFLAGS=ENABLE_STACK_OVERFLOW_DETECTOR=1
|
||||
CCSRCS=$(filter %.c,$(SRCFILES))
|
||||
ASSRCS=$(filter %.S,$(SRCFILES))
|
||||
LDOBJS=$(patsubst $(SRCDIR)/%.c,$(BUILDDIR)/%.o,$(CCSRCS)) \
|
||||
@@ -59,7 +60,7 @@ endif
|
||||
all : $(TARGET)
|
||||
|
||||
tp-build : $(THIRDPARTS)
|
||||
@$(foreach dir,$^,$(MAKE) --no-print-directory -C $(dir);)
|
||||
@$(foreach dir,$^,$(MAKE) --no-print-directory -C $(dir) $(TPFLAGS);)
|
||||
|
||||
tp-clean : $(THIRDPARTS)
|
||||
@$(foreach dir,$^,$(MAKE) --no-print-directory -C $(dir) clean;)
|
||||
|
||||
Reference in New Issue
Block a user