diff options
author | Thomas Haller <thaller@redhat.com> | 2021-03-15 10:03:32 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-03-15 17:10:52 +0100 |
commit | 10b4d10c9b9ae9c7873db7c33dc3ad053692a690 (patch) | |
tree | a376fccd4fb328e40b6ef1cf02d1d40cec7d2fd3 | |
parent | 0d856432b79a248a37403d29795823d0ab2a5345 (diff) | |
download | NetworkManager-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.am | 2 |
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 \ |