Fix cut-to-width in the presence of bad constants in dead code.
[sbcl.git] / src / runtime / Config.mips-linux
index ac11f32..ce8ee5f 100644 (file)
@@ -9,7 +9,7 @@
 # provided with absolutely no warranty. See the COPYING and CREDITS
 # files for more information.
 
-LINKFLAGS += -v -O2
+LINKFLAGS += -v -O2 -Wl,--export-dynamic
 NM = ./linux-nm
 
 ASSEM_SRC = mips-assem.S ldso-stubs.S
@@ -18,6 +18,17 @@ 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
+ifdef LISP_FEATURE_SB_CORE_COMPRESSION
+  OS_LIBS += -lz
+endif
+
 GC_SRC = cheneygc.c
 
 # Nothing to do for after-grovel-headers.