aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/sh/rc8
1 files changed, 3 insertions, 5 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index c9ae6cc..a9e9c98 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -132,7 +132,6 @@ export CC=gcc
export CCFLAGS='
-D_POSIX_C_SOURCE=200809L
-D_XOPEN_SOURCE=700
- -g
-fPIE
-std=c99
-Wall
@@ -144,14 +143,13 @@ export CCFLAGS='
-Wundef
-Wdouble-promotion
-fsanitize=undefined
- -fsanitize-trap=all
-Werror
-Wvla
'
CCFLAGS="$(printf '%s\n' "$CCFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')"
-LLDFLAGS='-static -fsanitize=undefined'
-export LDFLAGS="$LLDFLAGS"
-export CFLAGS="$CCFLAGS"
+LLDFLAGS='-fsanitize=undefined'
+export LDFLAGS="$LLDFLAGS -static"
+export CFLAGS="$CCFLAGS -g"
export LEIN_SUPPRESS_USER_LEVEL_REPO_WARNINGS=1
export LEIN_HOME="$XDG_CONFIG_HOME"/leiningen
export GUILE_EFFECTIVE_VERSION