From: Michel Pollet Date: Tue, 8 Aug 2017 08:46:32 +0000 (+0100) Subject: make: Remove -Werror X-Git-Tag: v1.6~30 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=88b50bbc526e3d97f95d698350f170e35fa57b90;p=sx%2Fsimavr.git make: Remove -Werror Can't fight multiple compiler, versions, and OS and expect everyone to agree while breaking the build for normal people. Signed-off-by: Michel Pollet --- diff --git a/Makefile.common b/Makefile.common index d1afbe8..be71d45 100644 --- a/Makefile.common +++ b/Makefile.common @@ -39,7 +39,7 @@ SIMAVR := ${shell for p in . .. ../.. ../../..;do test -d $$p/simavr/sim && ech # get the first character of what the compiler says it is, unless it's 'x86_64' doh ARCH := ${shell $(CC) -dumpmachine | sed -e 's/^x/i/' -e 's/\(.\).*/\1/'} -CFLAGS += -O2 -Wall -Wextra -Werror -Wno-unused-parameter \ +CFLAGS += -O2 -Wall -Wextra -Wno-unused-parameter \ -Wno-unused-result -Wno-missing-field-initializers \ -Wno-sign-compare CFLAGS += -g