summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2022-08-11 11:06:38 +0200
committerThomas Haller <thaller@redhat.com>2022-08-11 19:50:09 +0200
commit4ed6c647b9ba66bae34c2601fb557a8967f13fb9 (patch)
tree80c336d50bdf812a008da4232edc091941ef857f
parent119d30145e74ff3df503bcacc079ff96d14c3207 (diff)
downloadNetworkManager-4ed6c647b9ba66bae34c2601fb557a8967f13fb9.tar.gz
build/autotools: fix detecting compiler warning for "-Wno-gnu-variable-sized-type-not-at-end"
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 828c4a0977..4914a45c03 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1114,7 +1114,7 @@ fi
NM_COMPILER_WARNINGS(AM_CFLAGS, ${more_warnings_default})
-NM_COMPILER_FLAG(LIBSYSTEMD_NM_CFLAGS, "-Wno-gnu-variable-sized-type-not-at-end")
+NM_COMPILER_WARNING_FLAG(LIBSYSTEMD_NM_CFLAGS, "-Wno-gnu-variable-sized-type-not-at-end")
AC_SUBST(LIBSYSTEMD_NM_CFLAGS)
CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\