diff options
author | EuAndreh <eu@euandre.org> | 2025-01-17 10:04:35 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-01-17 10:05:12 -0300 |
commit | a8f0b74daeef7815da190c0337a4ca020e3403d4 (patch) | |
tree | 575585db20f1827fdaee296200cc7586146b148b /etc | |
parent | etc/sh/rc: Remove _{POSIX_C,XOPEN}_SOURCE from $CFLAGS (diff) | |
download | dotfiles-a8f0b74daeef7815da190c0337a4ca020e3403d4.tar.gz dotfiles-a8f0b74daeef7815da190c0337a4ca020e3403d4.tar.xz |
etc/sh/rc: Replace -Wfatal-errors with -fmax-errors=10
Diffstat (limited to 'etc')
-rw-r--r-- | etc/sh/rc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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" |