From 67a886575923c55b25185ba2b1f2f0cbf1eead4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Mon, 6 May 2002 17:21:17 +0200
Subject: [PATCH] (CFLAGS): Don't enable -Waggregate-return.

Rev: src/nettle/configure.ac:1.4
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1b749ef1..75814daa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -110,12 +110,12 @@ LSH_RPATH_FIX
 if test x$GCC = xyes ; then
     CFLAGS="$CFLAGS -ggdb3 -Wall -W \
  -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
- -Waggregate-return \
  -Wpointer-arith -Wbad-function-cast -Wnested-externs"
 
 # Don't enable -Wcast-align as it results in tons of warnings in the
 # DES code. And when using stdio.
-
+# Don't enable -Waggregate-return, as that causes warnings for glibc
+# inttypes.h.
 fi
 
 AC_OUTPUT(Makefile testsuite/Makefile examples/Makefile)
-- 
GitLab