Commit 696dc979 authored by Philip Withnall's avatar Philip Withnall
Browse files

build: Use AX_COMPILER_FLAGS

Switch from GNOME_COMPILE_WARNINGS to AX_COMPILER_FLAGS. This integrates
better with CI systems, allows easy disabling of -Werror, and integrates
with AX_IS_RELEASE to automatically disable errors when building
releases.

https://wiki.gnome.org/Projects/GnomeCommon/Migration
parent 4498b2f8
......@@ -33,6 +33,7 @@ src_hitori_CFLAGS = \
$(WARN_CFLAGS) \
$(NULL)
src_hitori_LDFLAGS = \
$(WARN_LDFLAGS) \
$(CODE_COVERAGE_LDFLAGS) \
$(NULL)
......
......@@ -16,7 +16,7 @@ LT_INIT
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
GNOME_COMPILE_WARNINGS([maximum])
AX_COMPILER_FLAGS([WARN_CFLAGS],[WARN_LDFLAGS])
# Code coverage
AX_CODE_COVERAGE()
......
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