$NetBSD: patch-ac,v 1.4 2005/12/19 16:41:39 joerg Exp $ --- Makefile 2004/01/28 14:58:48 1.1 +++ Makefile 2004/01/28 14:59:16 @@ -150,7 +150,7 @@ dos: freebsd: $(MAKE) target=FreeBSD \ - CC=gcc CXX='$$(CC)' \ + CC='$(CC)' CXX='$(CXX)' \ CFLAGS='$(CFLAGS) -fomit-frame-pointer -m486 -O3 -Wall' \ CXFLAGS='$(CFLAGS)' \ LDFLAGS='$(LDFLAGS)' \ @@ -422,7 +422,7 @@ crafty-make: crafty crafty: $(objects) - $(CC) $(LDFLAGS) -o crafty $(objects) -lm $(LIBS) + $(CXX) $(LDFLAGS) -o crafty $(objects) -lm $(LIBS) @rm -f X86-elf.S @rm -f X86-aout.S