From 10b4d10c9b9ae9c7873db7c33dc3ad053692a690 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 15 Mar 2021 10:03:32 +0100 Subject: [PATCH] build: fix setting CFLAGS when building "libnm-vpn-plugin-utils-test.la" Internally we set CPPFLAGS, because setting CFLAGS disables inheriting AM_CFLAGS -- which we use for example for "-Wno-pragmas" from the configure script. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 38c84732ba..3c3f2caf28 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1990,7 +1990,7 @@ src_contrib_tests_libnm_vpn_plugin_utils_test_la_SOURCES = \ src/contrib/nm-vpn-plugin-utils.h \ $(NULL) -src_contrib_tests_libnm_vpn_plugin_utils_test_la_CFLAGS = \ +src_contrib_tests_libnm_vpn_plugin_utils_test_la_CPPFLAGS = \ $(dflt_cppflags) \ -I$(srcdir)/src \ -I$(builddir)/src \