Suppress format-truncation warnings because they are WRONG
authorArt Cancro <ajc@citadel.org>
Mon, 25 Oct 2021 17:21:47 +0000 (13:21 -0400)
committerArt Cancro <ajc@citadel.org>
Mon, 25 Oct 2021 17:21:47 +0000 (13:21 -0400)
textclient/configure

index f49e7527f21a726ba509bf56a7d1097264ab9ee0..f43c18f3d614df4a6a2983b817e5f9d49b18ddd2 100755 (executable)
@@ -64,7 +64,7 @@ done
 [ "$PREFIX" = "" ]     && PREFIX=/usr/local
 [ "$BINDIR" = "" ]     && BINDIR=${PREFIX}/bin
 [ "$CTDLDIR" = "" ]    && CTDLDIR=/usr/local/citadel
-[ "$CFLAGS" = "" ]     && CFLAGS='-ggdb'
+[ "$CFLAGS" = "" ]     && CFLAGS='-Wformat-truncation=0 -ggdb'
 [ "$LDFLAGS" = "" ]    && LDFLAGS=''
 
 # Test for OpenSSL