DOS: Link against DJGPP's libemu to support FPU emulation.
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 19 Apr 2012 11:17:52 +0000 (14:17 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 19 Apr 2012 11:17:52 +0000 (14:17 +0300)
This way xz should work on 386SX and 486SX. Floating point
only is needed for verbose output in xz.

dos/Makefile

index d67451a..3a02899 100644 (file)
@@ -16,7 +16,7 @@ CC = gcc
 STRIP = strip
 CPPFLAGS =
 CFLAGS = -g -Wall -Wextra -Wfatal-errors -march=i386 -mtune=i686 -O2
-LDFLAGS =
+LDFLAGS = -lemu
 
 # NOTE: -fgnu89-inline is needed on DJGPP 2.04 beta and GCC >= 4.3.0
 # because time.h uses GNU-style "extern inline".