aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-06-02 15:15:26 -0300
committerEuAndreh <eu@euandre.org>2025-06-02 15:15:26 -0300
commit97c7a38a46ed4b9167a6bd16c77c63cc7a884c32 (patch)
tree5e07d6664cb94aed05f8551c6231c151611f183b /etc
parentetc/guix/home.scm: Add "fasm" and "xxd" (diff)
downloaddotfiles-97c7a38a46ed4b9167a6bd16c77c63cc7a884c32.tar.gz
dotfiles-97c7a38a46ed4b9167a6bd16c77c63cc7a884c32.tar.xz
etc/sh/rc: Swap $CFLAGS and $CCFLAGS
Diffstat (limited to 'etc')
-rw-r--r--etc/sh/rc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index 8192229..f6052ef 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -136,17 +136,16 @@ export CCFLAGS='
-Wall
-Wextra
-Wpedantic
- -Wconversion
-Wshadow
-Wundef
- -Wdouble-promotion
-Wvla
+ -Wmissing-prototypes
'
CCFLAGS="$(printf '%s\n' "$CCFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')"
export LLDFLAGS=''
export LDFLAGS="$LLDFLAGS -static"
export CFLAGS="$CCFLAGS"
-export CCFLAGS="$CCFLAGS -Wmissing-prototypes"
+export CCFLAGS="$CCFLAGS -Wconversion -Wdouble-promotion"
export YFLAGS='-Wother'
export GOCFLAGS="-I $PREFIX/lib/go -N"
export GOLDFLAGS="-L $PREFIX/lib/go"