summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorPeter Michael Green <plugwash@debian.org>2013-07-19 18:09:43 +0900
committerfujiwarat <takao.fujiwara1@gmail.com>2013-07-19 18:09:43 +0900
commit7fdcd865f14d5de6a276e71c2ed958a736dc34db (patch)
tree6e742f2d908f19ff40e2e5a6ef3fed78694440ed /autogen.sh
parentf64d4fdf43a17dc39132354ffdb1060a185fa715 (diff)
downloadibus-7fdcd865f14d5de6a276e71c2ed958a736dc34db.tar.gz
Fix error with gcc -Wformat -Werror=format-security
BUG=http://code.google.com/p/ibus/issues/detail?id=1638 TEST=src/ibusfactory.c Review URL: https://codereview.appspot.com/11503043 Patch from Peter Michael Green <plugwash@debian.org>.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 7b950796..1c82d5f4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -22,7 +22,7 @@ which gnome-autogen.sh || {
touch $srcdir/ChangeLog
}
-CFLAGS=${CFLAGS-"-Wall -Werror"}
+CFLAGS=${CFLAGS-"-Wall -Werror -Wformat -Werror=format-security"}
# need --enable-gtk-doc for gnome-autogen.sh to make dist
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4" REQUIRED_AUTOMAKE_VERSION=1.11 CFLAGS="$CFLAGS" . gnome-autogen.sh "$@"