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