aboutsummaryrefslogtreecommitdiff
path: root/etc/sh/rc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-05-09 14:10:30 -0300
committerEuAndreh <eu@euandre.org>2024-05-09 14:10:30 -0300
commitbb328e73f59a4e29419480509be2bfba66ec2acc (patch)
tree9ae5bdbc67d84ec0c6d3017fceb1b79704b1c082 /etc/sh/rc
parentbin/...: Move utilities to the dedicated "eut" package (diff)
downloaddotfiles-bb328e73f59a4e29419480509be2bfba66ec2acc.tar.gz
dotfiles-bb328e73f59a4e29419480509be2bfba66ec2acc.tar.xz
etc/sh/rc: export $LDFLAGS
Diffstat (limited to 'etc/sh/rc')
-rw-r--r--etc/sh/rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index fa47a49..d410014 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -148,6 +148,8 @@ export CCFLAGS='
-Wvla
'
CCFLAGS="$(printf '%s\n' "$CCFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')"
+LLDFLAGS='-static'
+export LDFLAGS="$LLDFLAGS"
export CFLAGS="$CCFLAGS"
export LEIN_SUPPRESS_USER_LEVEL_REPO_WARNINGS=1
export LEIN_HOME="$XDG_CONFIG_HOME"/leiningen