change DJGPP compiler flags to GCC v 3.x & 4.x

This commit is contained in:
Stas Degteff 2005-10-29 09:16:58 +00:00
parent 10c7631aa8
commit e46c1e5982

View File

@ -118,8 +118,14 @@ endif
# force not to use coprocessor features in DOS, if you have one you may remove this # force not to use coprocessor features in DOS, if you have one you may remove this
ifeq ($(PLATFORM),djg) ifeq ($(PLATFORM),djg)
CFLAGS+=-mcpu=i386 #CFLAGS+=-mcpu=i386 # GCC v2.x.x
STDLIBS+=-llocal -lwmemu CFLAGS+=-march=i386 #-mtune=i686 # GCC v3.x.x
STDLIBS+=-llocal
endif
# force not to use coprocessor features in DOS, if you have one you may remove this
ifeq ($(PLATFORM),djg)
STDLIBS+=# -lwmemu
endif endif
BIN=bin BIN=bin