aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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"