[lttng-dev] [PATCH urcu] Set -Wall globally in AM_CFLAGS
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Mon May 8 20:23:20 UTC 2017
Merged into master (only), as it is not a fix, thanks!
Mathieu
----- On May 8, 2017, at 4:15 PM, Michael Jeanson mjeanson at efficios.com wrote:
> Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
> ---
> configure.ac | 1 +
> src/Makefile.am | 1 -
> 2 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 753bec5..020adfc 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -369,6 +369,7 @@ AC_CHECK_FUNCS([sched_setaffinity],[
> AM_CPPFLAGS="-include config.h"
> AC_SUBST(AM_CPPFLAGS)
>
> +AM_CFLAGS="-Wall $AM_CFLAGS"
> AC_SUBST(AM_CFLAGS)
>
> AC_CONFIG_LINKS([
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 776c2a3..a801020 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -6,7 +6,6 @@ AM_LDFLAGS=-version-info $(URCU_LIBRARY_VERSION)
> if USE_CYGWIN
> AM_LDFLAGS+=-no-undefined
> endif
> -AM_CFLAGS+=-Wall
>
> include_HEADERS = urcu.h urcu-bp.h urcu-call-rcu.h urcu-defer.h \
> urcu-pointer.h urcu-qsbr.h urcu-flavor.h
> --
> 2.7.4
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list