aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-10-20 07:58:37 -0300
committerEuAndreh <eu@euandre.org>2023-10-20 07:58:37 -0300
commitf1a15b599b9059dd004a8c1bff4a2aa452fa460d (patch)
tree424efae92f4709564229a707bed5fb0fc5671e1b
parentetc/sh/rc: Remove "nolock" from $EXINIT (diff)
downloaddotfiles-f1a15b599b9059dd004a8c1bff4a2aa452fa460d.tar.gz
dotfiles-f1a15b599b9059dd004a8c1bff4a2aa452fa460d.tar.xz
etc/sh/rc: Add -Wvla, -fsanitize=undefined and -fsanitize-trap to $CFLAGS
-rw-r--r--etc/sh/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index 90c08d6..d87d91c 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -123,7 +123,7 @@ export VG_FLAGS='
'
VG_FLAGS="$(echo "$VG_FLAGS" | grep . | tr -d '\t' | tr '\n' ' ')"
-export CFLAGS='-D_POSIX_C_SOURCE=200809L -std=c99 -Wall -Wextra -Wpedantic -Wconversion -Wfatal-errors -Wshadow -Wformat=2 -Wfloat-equal -Wundef -Wdouble-promotion -fno-common' # -Warith-conversion -Warray-bounds=2 -Wformat-overflow=2 -Wformat-truncation -Wstringop-overflow=2 -Werror -Wpadded
+export CFLAGS='-D_POSIX_C_SOURCE=200809L -std=c99 -Wall -Wextra -Wpedantic -Wconversion -Wfatal-errors -Wvla -Wshadow -Wformat=2 -Wfloat-equal -Wundef -Wdouble-promotion -fno-common -fsanitize=undefined -fsanitize-trap' # -Warith-conversion -Warray-bounds=2 -Wformat-overflow=2 -Wformat-truncation -Wstringop-overflow=2 -Werror -Wpadded
export CC=tcc
export LEIN_SUPPRESS_USER_LEVEL_REPO_WARNINGS=1
export LEIN_HOME="$XDG_CONFIG_HOME"/leiningen