From 0396eb0a5b08870a54a63e28647d9fb408179e3e Mon Sep 17 00:00:00 2001 From: Jim Wilcoxson Date: Thu, 16 Apr 2020 03:12:20 +0000 Subject: [PATCH] makefile: add -Wno-return-type to enable clang / OSX builds This option can be removed when the compile problems in emdev.h (device drivers don't return a value in some cases) are fixed. --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index e02ee60..206bfb3 100644 --- a/makefile +++ b/makefile @@ -13,7 +13,7 @@ em_deps = \ # normal em: $(em_deps) $(all_deps) - $(CC) -DREV=\"${REV}\" -DNOTRACE -DFAST -O -Winline em.c -o em + $(CC) -DREV=\"${REV}\" -DNOTRACE -DFAST -O -Winline -Wno-return-type em.c -o em # lots of compiler warnings emwarn: $(em_deps) $(all_deps)