aboutsummaryrefslogtreecommitdiffstats
path: root/src/simulator
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulator')
-rw-r--r--src/simulator/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulator/Makefile b/src/simulator/Makefile
index a93e741..40b113b 100644
--- a/src/simulator/Makefile
+++ b/src/simulator/Makefile
@@ -82,7 +82,7 @@ endif
# MAX_NUMBER_OF_TASKS = max pthreads used in the POSIX port.
# Default value is 64 (_POSIX_THREAD_THREADS_MAX), the minimum number required by POSIX.
-CFLAGS += -DMAX_NUMBER_OF_TASKS=300 -DSIMULATOR
+CFLAGS += -DMAX_NUMBER_OF_TASKS=300 -DSIMULATOR -fsanitize=undefined
CFLAGS += $(INCLUDES) $(CWARNS) -O2