From 11bd6317ec8d00b3a421516c2e9747a8f7a551ea Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 16 Aug 2014 18:43:51 +0200 Subject: configure.ac: Use AM_CFLAGS instead of CFLAGS. CFLAGS, CPPFLAGS, LDFLAGS and so on are so-called "user variables" and are meant for users of the package to use/override. The package itself should not set or modify them in any way. Instead, the "shadow variables" such as AM_CFLAGS, AM_CPPFLAGS, AM_LDFLAGS and so on, can be modified by the package. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index df8fb86..41054b2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -60,7 +60,7 @@ tests_check_main_SOURCES = \ tests/check_decoder.c \ tests/check_inst.c \ tests/check_session.c -tests_check_main_CFLAGS = @check_CFLAGS@ +tests_check_main_CFLAGS = $(AM_CFLAGS) @check_CFLAGS@ tests_check_main_LDADD = $(top_builddir)/libsigrokdecode.la @check_LIBS@ tests_check_main_CPPFLAGS = $(CPPFLAGS_PYTHON) \ -DDECODERS_DIR='"$(abs_top_builddir)/decoders"' -- cgit v1.2.3-70-g09d2