X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FConfig.mips-linux;h=ce8ee5fc266d19f14c4053bb86cca9774c7d6180;hb=35ab27e7aab71c94aa6be12da15603c7fd87fca8;hp=fc7b5f7c39ce4c43465d5acda1276821ed39b73d;hpb=2fc49454e0967364f816a132ad5d0a6747d6cd6d;p=sbcl.git diff --git a/src/runtime/Config.mips-linux b/src/runtime/Config.mips-linux index fc7b5f7..ce8ee5f 100644 --- a/src/runtime/Config.mips-linux +++ b/src/runtime/Config.mips-linux @@ -1,3 +1,5 @@ +# -*- makefile -*- for the C-level run-time support for SBCL + # This software is part of the SBCL system. See the README file for # more information. # @@ -7,15 +9,28 @@ # provided with absolutely no warranty. See the COPYING and CREDITS # files for more information. -CFLAGS += -g -O0 -LD = ld -LINKFLAGS = -v -g -NM = nm -p +LINKFLAGS += -v -O2 -Wl,--export-dynamic +NM = ./linux-nm ASSEM_SRC = mips-assem.S ldso-stubs.S -ARCH_SRC = mips-arch.c #undefineds.c +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 -OS_SRC = linux-os.c mips-linux-os.c os-common.c -OS_LIBS= -ldl +GC_SRC = cheneygc.c -GC_SRC= cheneygc.c +# Nothing to do for after-grovel-headers. +.PHONY: after-grovel-headers +after-grovel-headers: