summaryrefslogtreecommitdiff
path: root/scripts/build_debug.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build_debug.sh')
-rwxr-xr-xscripts/build_debug.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build_debug.sh b/scripts/build_debug.sh
index fcdf16a..bf5f42b 100755
--- a/scripts/build_debug.sh
+++ b/scripts/build_debug.sh
@@ -1,5 +1,5 @@
#!/bin/sh
set -e -u -o pipefail
mkdir -p bin/debug
-clang -std=c23 -ggdb -O0 -Wall -Wextra -fsanitize=undefined,address -o bin/debug/sand src/{cli,core}/*.c
-clang -std=c23 -ggdb -O0 -Wall -Wextra -fsanitize=undefined,address -o bin/debug/unit src/{unit,core}/*.c
+clang -std=c23 -D_POSIX_C_SOURCE=200809L -ggdb -O0 -Wall -Wextra -fsanitize=undefined,address -o bin/debug/sand src/{cli,core}/*.c
+clang -std=c23 -D_POSIX_C_SOURCE=200809L -ggdb -O0 -Wall -Wextra -fsanitize=undefined,address -o bin/debug/unit src/{unit,core}/*.c