build-sys: Drop `-Werror=aggregate-return`
authorColin Walters <walters@verbum.org>
Thu, 17 Feb 2022 19:22:27 +0000 (14:22 -0500)
committerColin Walters <walters@verbum.org>
Thu, 17 Feb 2022 19:22:27 +0000 (14:22 -0500)
This is failing for me as of recently but only when I build
without optimization.  I don't think we've ever written any
code that returned a large structure by value.

Let's just drop this one.

configure.ac

index 763ffb04877ecc6a1c5583244764270a4487d61a..69e03982be70d0bca9038514edb274070e79522b 100644 (file)
@@ -49,7 +49,7 @@ CC_CHECK_FLAGS_APPEND([WARN_CFLAGS], [CFLAGS], [\
   -Werror=undef \
   -Werror=incompatible-pointer-types \
   -Werror=misleading-indentation \
-  -Werror=missing-include-dirs -Werror=aggregate-return \
+  -Werror=missing-include-dirs  \
   -Wstrict-aliasing=2 \
   -Werror=unused-result \
 ])])