aboutsummaryrefslogtreecommitdiff
path: root/etc/sh/rc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sh/rc')
-rw-r--r--etc/sh/rc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index 8192229..f6052ef 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -136,17 +136,16 @@ export CCFLAGS='
-Wall
-Wextra
-Wpedantic
- -Wconversion
-Wshadow
-Wundef
- -Wdouble-promotion
-Wvla
+ -Wmissing-prototypes
'
CCFLAGS="$(printf '%s\n' "$CCFLAGS" | grep . | tr -d '\t' | tr '\n' ' ')"
export LLDFLAGS=''
export LDFLAGS="$LLDFLAGS -static"
export CFLAGS="$CCFLAGS"
-export CCFLAGS="$CCFLAGS -Wmissing-prototypes"
+export CCFLAGS="$CCFLAGS -Wconversion -Wdouble-promotion"
export YFLAGS='-Wother'
export GOCFLAGS="-I $PREFIX/lib/go -N"
export GOLDFLAGS="-L $PREFIX/lib/go"