Blame SOURCES/0006-Remove-Werror.patch

220db9
From 6e8784db2fa3b3b2efedaae75d15d5d5cf3ed50c Mon Sep 17 00:00:00 2001
220db9
From: Michael Simacek <msimacek@redhat.com>
220db9
Date: Thu, 22 Feb 2018 16:17:15 +0100
220db9
Subject: [PATCH 6/6] Remove -Werror
220db9
220db9
---
220db9
 native/Makefile | 4 ++--
220db9
 1 file changed, 2 insertions(+), 2 deletions(-)
220db9
220db9
diff --git a/native/Makefile b/native/Makefile
220db9
index cb3afed..028c201 100644
220db9
--- a/native/Makefile
220db9
+++ b/native/Makefile
220db9
@@ -337,11 +337,11 @@ ifeq ($(CC),gcc)
220db9
     GCC_MAJOR_VERSION = $(shell gcc -dumpversion | cut -f 1 -d '.')
220db9
     ifneq ($(GCC_MAJOR_VERSION),4)
220db9
 	ifneq ($(GCC_MAJOR_VERSION),3)
220db9
-	    LOC_CC_OPTS=-Wno-unknown-warning-option -Werror -Wno-clobbered -Wno-unused-variable
220db9
+	    LOC_CC_OPTS=-Wno-unknown-warning-option -Wno-clobbered -Wno-unused-variable
220db9
 	endif
220db9
     endif
220db9
 else
220db9
-    LOC_CC_OPTS=-Wno-unknown-warning-option -Werror -Wno-clobbered -Wno-unused-variable
220db9
+    LOC_CC_OPTS=-Wno-unknown-warning-option -Wno-clobbered -Wno-unused-variable
220db9
 endif
220db9
 
220db9
 # Enable 64-bit builds if the arch demands it
220db9
-- 
220db9
2.20.1
220db9