summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2012-04-19 14:17:52 +0300
committerLasse Collin <lasse.collin@tukaani.org>2012-04-19 14:17:52 +0300
commitdf14a46013bea70c0bd35be7821b0b9108f97de7 (patch)
treed8fa9a4e7c528e446493030a1ac55c6e0a91d48c
parent03ed742a3a4931bb5c821357832083b26f577b13 (diff)
downloadxz-df14a46013bea70c0bd35be7821b0b9108f97de7.tar.gz
DOS: Link against DJGPP's libemu to support FPU emulation.
This way xz should work on 386SX and 486SX. Floating point only is needed for verbose output in xz.
-rw-r--r--dos/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/dos/Makefile b/dos/Makefile
index d67451a..3a02899 100644
--- a/dos/Makefile
+++ b/dos/Makefile
@@ -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".