aboutsummaryrefslogtreecommitdiff
path: root/etc/sh/rc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-01-17 10:04:35 -0300
committerEuAndreh <eu@euandre.org>2025-01-17 10:05:12 -0300
commita8f0b74daeef7815da190c0337a4ca020e3403d4 (patch)
tree575585db20f1827fdaee296200cc7586146b148b /etc/sh/rc
parentetc/sh/rc: Remove _{POSIX_C,XOPEN}_SOURCE from $CFLAGS (diff)
downloaddotfiles-a8f0b74daeef7815da190c0337a4ca020e3403d4.tar.gz
dotfiles-a8f0b74daeef7815da190c0337a4ca020e3403d4.tar.xz
etc/sh/rc: Replace -Wfatal-errors with -fmax-errors=10
Diffstat (limited to 'etc/sh/rc')
-rw-r--r--etc/sh/rc5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index 152060c..a0cbd02 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -130,23 +130,24 @@ VGFLAGS="$(printf '%s\n' "$VGFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')"
export FUZZSEC=0.1
export CC=gcc
export CCFLAGS='
+ -g
-fPIC
-std=c17
-Wall
-Wextra
-Wpedantic
- -Wfatal-errors
-Wconversion
-Wshadow
-Wundef
-Wdouble-promotion
-Werror
-Wvla
+ -fmax-errors=10
'
CCFLAGS="$(printf '%s\n' "$CCFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')"
export LLDFLAGS=''
export LDFLAGS="$LLDFLAGS -static"
-export CFLAGS="$CCFLAGS -g"
+export CFLAGS="$CCFLAGS"
export YFLAGS='-Wother'
export GOCFLAGS="-I $PREFIX/lib/go -N"
export GOLDFLAGS="-L $PREFIX/lib/go"