diff options
author | EuAndreh <eu@euandre.org> | 2023-10-20 07:58:37 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-10-20 07:58:37 -0300 |
commit | f1a15b599b9059dd004a8c1bff4a2aa452fa460d (patch) | |
tree | 424efae92f4709564229a707bed5fb0fc5671e1b | |
parent | etc/sh/rc: Remove "nolock" from $EXINIT (diff) | |
download | dotfiles-f1a15b599b9059dd004a8c1bff4a2aa452fa460d.tar.gz dotfiles-f1a15b599b9059dd004a8c1bff4a2aa452fa460d.tar.xz |
etc/sh/rc: Add -Wvla, -fsanitize=undefined and -fsanitize-trap to $CFLAGS
-rw-r--r-- | etc/sh/rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |