File gcc7.patch of Package honggfuzz

Index: honggfuzz-0.9/Makefile
===================================================================
--- honggfuzz-0.9.orig/Makefile
+++ honggfuzz-0.9/Makefile
@@ -24,7 +24,7 @@
 CC ?= gcc
 LD = $(CC)
 BIN := honggfuzz
-COMMON_CFLAGS := -D_GNU_SOURCE -Wall -Werror -Wframe-larger-than=131072
+COMMON_CFLAGS := -D_GNU_SOURCE -Wall -Wframe-larger-than=131072
 COMMON_LDFLAGS := -lm
 COMMON_SRCS := $(sort $(wildcard *.c))
 CFLAGS ?= -O3
@@ -37,8 +37,7 @@ ifeq ($(OS),Linux)
     ARCH := LINUX
 
     ARCH_CFLAGS := -std=c11 -I/usr/local/include -I/usr/include \
-                   -Wextra -Wno-initializer-overrides -Wno-override-init \
-                   -Wno-unknown-warning-option -funroll-loops \
+                   -Wextra -Wno-override-init -funroll-loops \
                    -D_FILE_OFFSET_BITS=64
     ARCH_LDFLAGS := -L/usr/local/include -L/usr/include \
                     -lpthread -lunwind-ptrace -lunwind-generic -lbfd -lopcodes -lrt
openSUSE Build Service is sponsored by