DOS: target 386 and link in FPU emulator, program now starts up correctly

This commit is contained in:
Brad Parker 2017-01-21 16:36:38 -05:00
parent bc8b3ebad5
commit 496198ab32

View File

@ -22,6 +22,11 @@ LIBS :=
DEFINES := -DHAVE_CONFIG_H -DRARCH_INTERNAL -DHAVE_OVERLAY
DEFINES += -DGLOBAL_CONFIG_DIR='"$(GLOBAL_CONFIG_DIR)"'
ifneq ($(findstring DOS,$(OS)),)
CFLAGS += -march=i386
LDFLAGS += -lemu
endif
ifneq ($(findstring Win32,$(OS)),)
LDFLAGS += -static-libgcc
endif