1.0.9.27: Fix large file support for MIPS.
[sbcl.git] / src / runtime / Config.mips-linux
index 1356ec7..9f32f3c 100644 (file)
@@ -18,6 +18,14 @@ ARCH_SRC = mips-arch.c
 OS_SRC = linux-os.c mips-linux-os.c
 OS_LIBS = -ldl
 
+ifdef LISP_FEATURE_LARGEFILE
+  CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+endif
+
+ifdef LISP_FEATURE_SB_THREAD
+  OS_LIBS += -lpthread
+endif
+
 GC_SRC = cheneygc.c
 
 # Nothing to do for after-grovel-headers.