Commit: 35e693e05eb7f81a07305bd528127cebeb11efc6
Parent: d7811a9b010ea484dd651abb0fe97a33110e5047
Author: Randy Palamar
Date: Wed, 31 Jul 2024 19:52:31 -0600
don't warn on unused functions in debug build
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.sh b/build.sh
@@ -33,7 +33,7 @@ fi
if [ "$debug" ]; then
# Hot Reloading/Debugging
- cflags="$cflags -O0 -ggdb -D_DEBUG"
+ cflags="$cflags -O0 -ggdb -D_DEBUG -Wno-unused-function"
# NOTE: needed for sync(3p)
cflags="$cflags -D_XOPEN_SOURCE=600"