From 511bddff20715bb7ed58851935df21f4c7f89d10 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 16 Jun 2024 10:00:58 -0300 Subject: etc/sh/rc: Remove -g from $CCFLAGS and -static from $LLDFLAGS --- etc/sh/rc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'etc/sh/rc') diff --git a/etc/sh/rc b/etc/sh/rc index c9ae6cc..a9e9c98 100644 --- a/etc/sh/rc +++ b/etc/sh/rc @@ -132,7 +132,6 @@ export CC=gcc export CCFLAGS=' -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 - -g -fPIE -std=c99 -Wall @@ -144,14 +143,13 @@ export CCFLAGS=' -Wundef -Wdouble-promotion -fsanitize=undefined - -fsanitize-trap=all -Werror -Wvla ' CCFLAGS="$(printf '%s\n' "$CCFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')" -LLDFLAGS='-static -fsanitize=undefined' -export LDFLAGS="$LLDFLAGS" -export CFLAGS="$CCFLAGS" +LLDFLAGS='-fsanitize=undefined' +export LDFLAGS="$LLDFLAGS -static" +export CFLAGS="$CCFLAGS -g" export LEIN_SUPPRESS_USER_LEVEL_REPO_WARNINGS=1 export LEIN_HOME="$XDG_CONFIG_HOME"/leiningen export GUILE_EFFECTIVE_VERSION -- cgit v1.2.3