aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-11-07 22:08:50 -0300
committerEuAndreh <eu@euandre.org>2023-11-07 22:08:50 -0300
commit7364431b4f3223ef72ebd0fe7eff2cefb2b3b5fc (patch)
tree0c85cecdf0d4b67c756e6c73d26a311425b967b9 /etc
parentetc/sh/rc: Revert $CC back to gcc (diff)
downloaddotfiles-7364431b4f3223ef72ebd0fe7eff2cefb2b3b5fc.tar.gz
dotfiles-7364431b4f3223ef72ebd0fe7eff2cefb2b3b5fc.tar.xz
etc/sh/rc: Make $CFLAGS more legible
Diffstat (limited to 'etc')
-rw-r--r--etc/sh/rc22
1 files changed, 21 insertions, 1 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index 6de90f2..b21cae3 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -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