aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-07-03 16:09:21 -0300
committerEuAndreh <eu@euandre.org>2024-07-03 16:09:21 -0300
commitee1f60cd0b966bb1672d94cf243991073c89b28d (patch)
tree6b07e1d8d6e95b42121e592e34f7d9305afb776b
parentmv bin/e bin/ee (diff)
downloaddotfiles-ee1f60cd0b966bb1672d94cf243991073c89b28d.tar.gz
dotfiles-ee1f60cd0b966bb1672d94cf243991073c89b28d.tar.xz
etc/sh/rc: Remove -fsanitize=undefined fro $CFLAGS and $LDFLAGS
-rw-r--r--etc/sh/rc3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index 6dfe692..1231fcf 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -142,12 +142,11 @@ export CCFLAGS='
-Wshadow
-Wundef
-Wdouble-promotion
- -fsanitize=undefined
-Werror
-Wvla
'
CCFLAGS="$(printf '%s\n' "$CCFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')"
-LLDFLAGS='-fsanitize=undefined'
+export LLDFLAGS=''
export LDFLAGS="$LLDFLAGS -static"
export CFLAGS="$CCFLAGS -g"
export LEIN_SUPPRESS_USER_LEVEL_REPO_WARNINGS=1