aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/sh/rc11
1 files changed, 6 insertions, 5 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index fe683fa..6d445c7 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -113,12 +113,13 @@ GUILE_EFFECTIVE_VERSION="$(guile -c '(display (effective-version))')"
export MAKEFLAGS="-j $NPROC"
export GOPATH="$SRC/go"
export VG_FLAGS='
---show-error-list=yes
---show-leak-kinds=all
---leak-check=full
---track-origins=yes
---error-exitcode=1
+ --show-error-list=yes
+ --show-leak-kinds=all
+ --leak-check=full
+ --track-origins=yes
+ --error-exitcode=1
'
+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 CC=tcc