aboutsummaryrefslogtreecommitdiff
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
parentliblzma: Fix Libs.private in liblzma.pc to include -lrt when needed. (diff)
downloadxz-df14a46013bea70c0bd35be7821b0b9108f97de7.tar.xz
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 d67451a0..3a028993 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".