diff options
author | EuAndreh <eu@euandre.org> | 2023-11-07 22:08:50 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-11-07 22:08:50 -0300 |
commit | 7364431b4f3223ef72ebd0fe7eff2cefb2b3b5fc (patch) | |
tree | 0c85cecdf0d4b67c756e6c73d26a311425b967b9 /etc | |
parent | etc/sh/rc: Revert $CC back to gcc (diff) | |
download | dotfiles-7364431b4f3223ef72ebd0fe7eff2cefb2b3b5fc.tar.gz dotfiles-7364431b4f3223ef72ebd0fe7eff2cefb2b3b5fc.tar.xz |
etc/sh/rc: Make $CFLAGS more legible
Diffstat (limited to 'etc')
-rw-r--r-- | etc/sh/rc | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -123,7 +123,27 @@ 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 -Wvla -Wshadow -Wformat=2 -Wfloat-equal -Wundef -Wdouble-promotion -fno-common -fsanitize=undefined -fsanitize-trap -fanalyzer' # -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 + -Wfatal-errors + -Wconversion + -Wvla + -Wshadow + -Wfloat-equal + -Wundef + -Wdouble-promotion + -fno-common + -fsanitize=undefined + -fsanitize-trap + -O0 + -g + -Werror +' +CFLAGS="$(echo "$CFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')" export CC=gcc export LEIN_SUPPRESS_USER_LEVEL_REPO_WARNINGS=1 export LEIN_HOME="$XDG_CONFIG_HOME"/leiningen |