~vdupras/collapseos

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Replace "-ansi" with "-std=c89" in emul/Makefile

Details
Message ID
<20200723053343.1307-1-dustinrawlings@gmail.com>
DKIM signature
pass
Download raw message
Patch: +1 -1
"-ansi" is not supported by tcc, but according to gcc
documentation, "-std=c89" produces identical behavior.

See: https://gcc.gnu.org/onlinedocs/gcc-3.4.2/gcc/Standards.html
---
 emul/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emul/Makefile b/emul/Makefile
index e66f0a9..7e38b48 100644
--- a/emul/Makefile
+++ b/emul/Makefile
@@ -12,7 +12,7 @@ forth: forth.c $(OBJS) $(BLKFS)

libz80/libz80.o: libz80/z80.c
	$(MAKE) -C libz80/codegen opcodes
	$(CC) -Wall -ansi -g -c -o libz80/libz80.o libz80/z80.c
	$(CC) -Wall -std=c89 -g -c -o libz80/libz80.o libz80/z80.c

emul.o: emul.c forth.bin $(BLKFS)
	$(CC) -DFBIN_PATH=\"`pwd`/forth.bin\" -DBLKFS_PATH=\"`pwd`/$(BLKFS)\" -c -o emul.o emul.c
-- 
2.25.1
Details
Message ID
<20200724001759.GA85475@tocqueville>
In-Reply-To
<20200723053343.1307-1-dustinrawlings@gmail.com> (view parent)
DKIM signature
missing
Download raw message
Applied, thanks.
Review patch Export thread (mbox)