From eb55533b387c0805ac11134bab1404108851ef04 Mon Sep 17 00:00:00 2001 From: John Spencer Date: Sat, 2 Feb 2013 17:40:20 +0100 Subject: [PATCH 3/3] remove -Werror from Makefile using -Werror breaks the build for any libc/compiler combination the author didnt test yet, so it is insane to use it by default. fixes build on musl libc. Signed-off-by: John Spencer --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index b9787d6..0169824 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ KLIBC_GCC = gcc -nostdinc -iwithprefix include -I$(KLIBC)/klibc/include -I$(KLIB CC = $(CROSS_COMPILE)gcc CXFLAGS = -ggdb -CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter +CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter ifdef WARN_UNUSED CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O endif -- 1.7.3.4