From 1bd2ea784356707728fb0f700207b940cd2829fe Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 22 Apr 2024 08:42:35 -0300 Subject: etc/sh/rc: Have both $CCFLAGS and $CFLAGS --- etc/sh/rc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc') diff --git a/etc/sh/rc b/etc/sh/rc index 58f6b1a..2f48e89 100644 --- a/etc/sh/rc +++ b/etc/sh/rc @@ -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 -- cgit v1.2.3