summaryrefslogtreecommitdiffstats
path: root/bin/9c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/9c')
-rwxr-xr-xbin/9c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/9c b/bin/9c
index ccfbe7e9..195fec81 100755
--- a/bin/9c
+++ b/bin/9c
@@ -8,6 +8,7 @@ usegcc()
-O2 \
-c \
-Wall \
+ -Wno-array-parameter \
-Wno-parentheses \
-Wno-missing-braces \
-Wno-switch \
@@ -23,7 +24,7 @@ usegcc()
-fno-omit-frame-pointer \
-fsigned-char \
-fcommon \
- -std=c11 \
+ -std=gnu11 \
"
# want to put -fno-optimize-sibling-calls here but
# that option only works with gcc3+ it seems
@@ -56,7 +57,7 @@ quiet()
ignore=$ignore'|expanded from macro'
grep -v '__p9l_autolib_' "$1" |
- egrep -v "$ignore" |
+ $egrep -v "$ignore" |
sed 's/ .first use in this function.$//; s/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' |
$(which uniq) 1>&2 # avoid built-in uniq on SunOS
}