summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Lima (Etrunko) <eduardo.lima@intel.com>2013-09-19 16:30:55 -0300
committerEduardo Lima (Etrunko) <eduardo.lima@intel.com>2013-09-19 19:45:20 -0300
commitf7a6a3b02563b125bc5b46b62be9bcc973282929 (patch)
tree2e5c52e025cf9bff7ca56af815ffbab1945a72f9
parentf8f6f8b1a8d242aa9b76548236afbb911beaf5bc (diff)
downloadweekeyboard-f7a6a3b02563b125bc5b46b62be9bcc973282929.tar.gz
weekeyboard-f7a6a3b02563b125bc5b46b62be9bcc973282929.tar.bz2
weekeyboard-f7a6a3b02563b125bc5b46b62be9bcc973282929.zip
Make use of -Wno-unused-parameter
Also fix usage of -Wextra Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index eb089e7..5e4d1dc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,7 @@ AC_SUBST([weekeyboard_VERSION], [wkb_version])
AC_CONFIG_HEADERS([config.h])
-AM_INIT_AUTOMAKE([1.11 -Wall -Wextra parallel-tests foreign color-tests dist-bzip2])
+AM_INIT_AUTOMAKE([1.11 -Wall parallel-tests foreign color-tests dist-bzip2])
AM_SILENT_RULES([yes])
@@ -59,6 +59,12 @@ fi
WAYLAND_SCANNER_RULES(['$(top_srcdir)/protocol'])
+CFLAGS="$CFLAGS -Wextra -Wno-unused-parameter"
+AC_SUBST(CFLAGS)
+
+CXXFLAGS="$CXXFLAGS -Wextra -Wno-unused-parameter"
+AC_SUBST(CXXFLAGS)
+
AC_CONFIG_FILES([Makefile
src/Makefile
data/themes/Makefile