aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-05-07 21:28:05 -0700
committerLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-05-07 21:28:05 -0700
commit1b9935cf36e83b389cb26008df93a654af3f2074 (patch)
tree791e19051707a12a67f9b66900cd69d02e5cf209 /configure
parent524f6dff17af73ec14529e5b0d444dfdda43d7c4 (diff)
downloadtinycc-1b9935cf36e83b389cb26008df93a654af3f2074.tar.gz
tinycc-1b9935cf36e83b389cb26008df93a654af3f2074.tar.bz2
Add missing const and add warning flags
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 4182f9a..2327929 100755
--- a/configure
+++ b/configure
@@ -374,7 +374,7 @@ fi
# a final configuration tuning
$cc -v --help > cc_help.txt 2>&1
-W_OPTIONS="declaration-after-statement"
+W_OPTIONS="declaration-after-statement undef strict-prototypes write-strings"
for i in $W_OPTIONS; do
O_PRESENT="$(grep -- -W$i cc_help.txt)"
if test -n "$O_PRESENT"; then CFLAGS="$CFLAGS -W$i"; fi