aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-03-27 21:41:14 -0500
committerRob Landley <rob@landley.net>2015-03-27 21:41:14 -0500
commitccccc2bfdd33b1e82bdd7c612fa3a99e0c8be567 (patch)
tree271e760170bd4a02a545e80472c8d214cc061dbd /configure
parent8d3b3987b8861ea09e2f7f5bd8fcd7b1195e6ae1 (diff)
downloadtoybox-ccccc2bfdd33b1e82bdd7c612fa3a99e0c8be567.tar.gz
Flag to make llvm shut up about a broken warning.
Diffstat (limited to 'configure')
-rw-r--r--configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 21d56f38..5831e1ab 100644
--- a/configure
+++ b/configure
@@ -7,7 +7,7 @@
# CFLAGS and OPTIMIZE are different so you can add extra CFLAGS without
# disabling default optimizations
-[ -z "$CFLAGS" ] && CFLAGS="-Wall -Wundef -Wno-char-subscripts"
+[ -z "$CFLAGS" ] && CFLAGS="-Wall -Wundef -Wno-char-subscripts -Wno-string-plus-int"
# Required for our expected ABI. we're 8-bit clean thus "char" must be unsigned.
CFLAGS="$CFLAGS -funsigned-char"
[ -z "$OPTIMIZE" ] && OPTIMIZE="-Os -ffunction-sections -fdata-sections -fno-asynchronous-unwind-tables"