aboutsummaryrefslogtreecommitdiff
path: root/etc/sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-08-05 04:57:14 -0300
committerEuAndreh <eu@euandre.org>2024-08-05 04:57:14 -0300
commitd71f474c0ca5b1e7c75c0610fb7c32f9cb6894d3 (patch)
treeb9de2a98bdc2cf8bf8a44c6fb075e8e9cd98368f /etc/sh
parentetc/guix/system.scm: Remove nginx service (diff)
downloaddotfiles-d71f474c0ca5b1e7c75c0610fb7c32f9cb6894d3.tar.gz
dotfiles-d71f474c0ca5b1e7c75c0610fb7c32f9cb6894d3.tar.xz
etc/sh/rc: Add $YFLAGS, $GOCFLAGS and $GOLDFLAGS
Diffstat (limited to 'etc/sh')
-rw-r--r--etc/sh/rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index 1231fcf..146cec4 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -149,6 +149,9 @@ CCFLAGS="$(printf '%s\n' "$CCFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')"
export LLDFLAGS=''
export LDFLAGS="$LLDFLAGS -static"
export CFLAGS="$CCFLAGS -g"
+export YFLAGS='-Wother'
+export GOCFLAGS="-I $PREFIX/lib/go"
+export GOLDFLAGS="-L $PREFIX/lib/go -L $(go env GOTOOLDIR)"
export LEIN_SUPPRESS_USER_LEVEL_REPO_WARNINGS=1
export LEIN_HOME="$XDG_CONFIG_HOME"/leiningen
export GUILE_EFFECTIVE_VERSION