Commit 466b35e4 authored by Sébastien Wilmet's avatar Sébastien Wilmet
Browse files

build: disable -Werror by default

See this thread:
https://mail.gnome.org/archives/desktop-devel-list/2017-April/msg00000.html

-Werror was anyway already disabled by default in Jhbuild.
parent 4f137ec3
......@@ -116,6 +116,11 @@ AC_DEFINE_UNQUOTED([LOCALE_DIR],
["${LOCALE_DIR}"],
[locale directory])
# Compile warnings. There can be deprecation warnings at any time, so disable
# -Werror by default with the [yes] argument.
AX_REQUIRE_DEFINED([AX_COMPILER_FLAGS])
AX_COMPILER_FLAGS([WARN_CFLAGS], [WARN_LDFLAGS], [yes])
# Misc
AX_REQUIRE_DEFINED([YELP_HELP_INIT])
YELP_HELP_INIT
......@@ -123,9 +128,6 @@ YELP_HELP_INIT
AX_REQUIRE_DEFINED([GLIB_GSETTINGS])
GLIB_GSETTINGS
AX_REQUIRE_DEFINED([AX_COMPILER_FLAGS])
AX_COMPILER_FLAGS([WARN_CFLAGS], [WARN_LDFLAGS])
AX_REQUIRE_DEFINED([GOBJECT_INTROSPECTION_CHECK])
GOBJECT_INTROSPECTION_CHECK([1.30.0])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment