diff options
author | EuAndreh <eu@euandre.org> | 2024-04-22 08:42:35 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-04-22 08:42:35 -0300 |
commit | 1bd2ea784356707728fb0f700207b940cd2829fe (patch) | |
tree | 7667e15f845088c0c3ddc07f55bed5090e81c5c7 /etc | |
parent | etc/sh/rc: Disable $CGO_ENABLED (diff) | |
download | dotfiles-1bd2ea784356707728fb0f700207b940cd2829fe.tar.gz dotfiles-1bd2ea784356707728fb0f700207b940cd2829fe.tar.xz |
etc/sh/rc: Have both $CCFLAGS and $CFLAGS
Diffstat (limited to 'etc')
-rw-r--r-- | etc/sh/rc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -126,10 +126,12 @@ export VGFLAGS=' VGFLAGS="$(printf '%s\n' "$VGFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')" export CGO_ENABLED=0 +export CC=gcc export CCFLAGS=' -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -g + -fPIE -std=c99 -Wall -Wextra @@ -142,8 +144,10 @@ export CCFLAGS=' -fsanitize=undefined -fsanitize-trap -Werror + -Wvla ' CCFLAGS="$(printf '%s\n' "$CCFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')" +export CFLAGS="$CCFLAGS" export LEIN_SUPPRESS_USER_LEVEL_REPO_WARNINGS=1 export LEIN_HOME="$XDG_CONFIG_HOME"/leiningen export GUILE_EFFECTIVE_VERSION |