summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2021-03-15 10:03:32 +0100
committerThomas Haller <thaller@redhat.com>2021-03-15 17:10:52 +0100
commit10b4d10c9b9ae9c7873db7c33dc3ad053692a690 (patch)
treea376fccd4fb328e40b6ef1cf02d1d40cec7d2fd3
parent0d856432b79a248a37403d29795823d0ab2a5345 (diff)
downloadNetworkManager-10b4d10c9b9ae9c7873db7c33dc3ad053692a690.tar.gz
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.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
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 \