638e8a
From 00cab63102084b89de0a3494a1d023c4b1d4982b Mon Sep 17 00:00:00 2001
638e8a
From: Felix Kaechele <felix@kaechele.ca>
638e8a
Date: Sun, 7 Jun 2020 12:14:02 -0400
638e8a
Subject: [PATCH 1/2] remove Werror in upstream build scripts
638e8a
638e8a
removes -Werror in upstream build scripts.  -Werror conflicts with
638e8a
-D_FORTIFY_SOURCE=2 causing warnings to turn into errors.
638e8a
638e8a
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
638e8a
---
638e8a
 auto/cc/gcc | 4 +++-
638e8a
 1 file changed, 3 insertions(+), 1 deletion(-)
638e8a
638e8a
diff --git a/auto/cc/gcc b/auto/cc/gcc
638e8a
index a5c5c18..cdbbadb 100644
638e8a
--- a/auto/cc/gcc
638e8a
+++ b/auto/cc/gcc
638e8a
@@ -166,7 +166,9 @@ esac
638e8a
 
638e8a
 
638e8a
 # stop on warning
638e8a
-CFLAGS="$CFLAGS -Werror"
638e8a
+# This combined with Fedora's FORTIFY_SOURCE=2 option causes it nginx
638e8a
+# to not compile.
638e8a
+#CFLAGS="$CFLAGS -Werror"
638e8a
 
638e8a
 # debug
638e8a
 CFLAGS="$CFLAGS -g"
638e8a
-- 
638e8a
2.31.1
638e8a