1
0
mirror of https://github.com/prirun/p50em.git synced 2026-04-10 14:28:23 +00:00

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.
This commit is contained in:
Jim Wilcoxson
2020-04-16 03:12:20 +00:00
parent 003e07c171
commit 0396eb0a5b

View File

@@ -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)