aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/sh/rc7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index bd14bb3..26c11ba 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -76,6 +76,13 @@ N_PROCS=$(($(nproc) * 2 + 1))
GUILE_EFFECTIVE_VERSION="$(guile -c '(display (effective-version))')"
export MAKEFLAGS="-j $N_PROCS"
export GOPATH="$SRC/go"
+export VG_FLAGS='
+--show-error-list=yes
+--show-leak-kinds=all
+--leak-check=full
+--track-origins=yes
+--error-exitcode=1
+'
export CFLAGS='-D_POSIX_C_SOURCE=200809L -std=c99 -Wall -Wextra -Wpedantic -O0 -g -Werror'
export CC=gcc
export AR=gcc-ar