--- EMULib/Rules.gcc.orig 2009-12-17 07:37:54 UTC +++ EMULib/Rules.gcc @@ -5,11 +5,11 @@ LIBZ80 = $(BASEDIR)/Z80 LIB6502 = $(BASEDIR)/M6502 LIBGBZ = $(BASEDIR)/GBZ80 -CXX = g++ -CC = gcc +CXX = c++ +CC = cc CPP = cpp SDT2GAS = perl $(EMULIB)/Tools/sdt2gas.pl -CFLAGS = -O3 -pthread -I. -I.. -I$(EMULIB) +CFLAGS += -pthread -I. -I.. -I$(EMULIB) DEFINES = -DZLIB LIBS = -lz -lpthread