aboutsummaryrefslogtreecommitdiffstats
path: root/src/simulator
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-12-31 14:55:01 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-12-31 14:55:01 +0100
commit7849f19829d233858de4c2156f87be57bc51d774 (patch)
tree83582ce0394b0c46877a0a3edc7f9d4377b69780 /src/simulator
parent6f00ffb0f016413522bd54dc9e44beb92864df02 (diff)
downloadglutte-o-matic-7849f19829d233858de4c2156f87be57bc51d774.tar.gz
glutte-o-matic-7849f19829d233858de4c2156f87be57bc51d774.tar.bz2
glutte-o-matic-7849f19829d233858de4c2156f87be57bc51d774.zip
Refactor CW call into #define
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