summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-07-22 12:38:20 -0500
committerDan Williams <dcbw@redhat.com>2014-11-06 22:42:43 -0600
commitd2dd3b2c90221fdfa40ca81a9fcffe6a777d95de (patch)
treed29b17d5245ac840ec595a5f48a93c20e936f51d /m4
parent3c34f1d92fb1f8cb01e3d54216d80eb2dd85cedf (diff)
downloadNetworkManager-d2dd3b2c90221fdfa40ca81a9fcffe6a777d95de.tar.gz
dhcp: add systemd-based "internal" DHCP client
We must also remove -Waggregate-return from m4/compiler-warnings.m4 because systemd uses aggregate return (correctly) in a couple cases, and we cannot keep single-level makefiles and override aggregate-return only for the systemd sub-library. This client currently only supports DHCPv4 because the base systemd code does not yet fully support DHCPv6.
Diffstat (limited to 'm4')
-rw-r--r--m4/compiler_warnings.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/compiler_warnings.m4 b/m4/compiler_warnings.m4
index 3fde795504..c05a26d098 100644
--- a/m4/compiler_warnings.m4
+++ b/m4/compiler_warnings.m4
@@ -29,7 +29,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
-fno-strict-aliasing -Wno-unused-but-set-variable \
-Wundef -Wimplicit-function-declaration \
-Wpointer-arith -Winit-self \
- -Wmissing-include-dirs -Waggregate-return; do
+ -Wmissing-include-dirs; do
CFLAGS="$CFLAGS_MORE_WARNINGS $CFLAGS_EXTRA $option $CFLAGS_SAVED"
AC_MSG_CHECKING([whether gcc understands $option])
AC_TRY_COMPILE([], [],