aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-10-18 14:22:32 -0300
committerEuAndreh <eu@euandre.org>2025-10-18 14:22:32 -0300
commit2d5771eafa388ae0ccda8a98bf08e86afb7215ea (patch)
treed3efb1bf30f58b61f2b2f1fa2ac32b3bdff305fc /etc
parentetc/guix/channels.scm: Use literal channel for new guix repo (diff)
downloaddotfiles-2d5771eafa388ae0ccda8a98bf08e86afb7215ea.tar.gz
dotfiles-2d5771eafa388ae0ccda8a98bf08e86afb7215ea.tar.xz
etc/sh/rc: Evolve $CCFLAGS
Diffstat (limited to 'etc')
-rw-r--r--etc/sh/rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index 47b8be3..336e5ac 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -132,21 +132,21 @@ export CC=gcc
export CCFLAGS='
-g
-fPIC
- -std=c17
+ -std=c99
-Wall
-Wextra
-Wpedantic
- -Wshadow
-Wundef
-Wvla
-Wmissing-prototypes
-Wno-pointer-arith
+ -Wno-psabi
'
CCFLAGS="$(printf '%s\n' "$CCFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')"
export LLDFLAGS=''
export LDFLAGS="$LLDFLAGS -static"
export CFLAGS="$CCFLAGS"
-export CCFLAGS="$CCFLAGS -Wconversion -Wdouble-promotion"
+export CCFLAGS="$CCFLAGS -Wconversion -Wdouble-promotion -Wshadow"
export YFLAGS='-Wother'
export GOCFLAGS="-I $PREFIX/lib/go -N"
export GOLDFLAGS="-L $PREFIX/lib/go"