aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"