From a8f0b74daeef7815da190c0337a4ca020e3403d4 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 17 Jan 2025 10:04:35 -0300 Subject: etc/sh/rc: Replace -Wfatal-errors with -fmax-errors=10 --- etc/sh/rc | 5 +++-- 1 file 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" -- cgit v1.2.3