aboutsummaryrefslogtreecommitdiff
path: root/etc/sh/rc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sh/rc')
-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