Flag to make llvm shut up about a broken warning.
authorRob Landley <rob@landley.net>
Sat, 28 Mar 2015 02:41:14 +0000 (21:41 -0500)
committerRob Landley <rob@landley.net>
Sat, 28 Mar 2015 02:41:14 +0000 (21:41 -0500)
configure

index 21d56f3..5831e1a 100644 (file)
--- 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"