NetworkManager/m4
Thomas Haller f6272144e9 build: hack around compiler warning in g-ir-scanner
The autoconf macro for GIR passes $CFLAGS to g-ir-scanner.
g-ir-scanner extends those flags with the system-default which
includes -D_FORTIFY_SOURCE=2. Probably it should not do that,
but if you disable optimization, this results in a compler warning
in "/usr/include/features.h" [1]

    export CFLAGS='-O0'
    # Happens both with clang or gcc.
    #export CC=clang
    git clean -fdx
    ./autogen.sh
    make

Work around that by injecting -Wno-error to $CFLAGS when invoking
g-ir-scanner.

[1] Related: https://sourceware.org/bugzilla/show_bug.cgi?id=13979
2015-11-10 18:12:12 +01:00
..
ax_lib_readline.m4 build: correct help message about missing readline + termcap libraries 2015-05-11 10:33:21 -05:00
compiler_warnings.m4 build: set -Werror when checking whether a -W<warning> option works 2015-09-29 14:08:14 +02:00
gnome-code-coverage.m4 build: update gnome-code-coverage.m4 2013-05-09 09:19:08 -04:00
introspection.m4 build: hack around compiler warning in g-ir-scanner 2015-11-10 18:12:12 +01:00
vapigen.m4 vala: add vala bindings for libnm-util and libnm-glib 2012-06-12 16:31:20 -05:00