X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FConfig.x86-freebsd;h=a30afdce82891df899aab0255ae8c056c739eadf;hb=0e3c4b4db102bd204a30402d7e5a0de44aea57ce;hp=7a418799ee3ec978649a36df2893b41ebb4e59d3;hpb=6e7c58b74ee0a9a0d23ed057898f868bf853de05;p=sbcl.git diff --git a/src/runtime/Config.x86-freebsd b/src/runtime/Config.x86-freebsd index 7a41879..a30afdc 100644 --- a/src/runtime/Config.x86-freebsd +++ b/src/runtime/Config.x86-freebsd @@ -1,10 +1,28 @@ -# -*- makefile -*- +# -*- 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. +# +# This software is derived from the CMU CL system, which was +# written at Carnegie Mellon University and released into the +# public domain. The software is in the public domain and is +# provided with absolutely no warranty. See the COPYING and CREDITS +# files for more information. + include Config.x86-bsd ASSEM_SRC += ldso-stubs.S -# Until sbcl-0.6.7.3, we used "OS_LINK_FLAGS=-static" here, which +# Until sbcl-0.6.7.3, we used "LINKFLAGS+=-static" here, which # worked fine for most things, but LOAD-FOREIGN & friends require # dlopen() etc., which in turn depend on dynamic linking of the # runtime. -OS_LINK_FLAGS = -dynamic -export-dynamic +LINKFLAGS += -dynamic -export-dynamic + +# use libthr (1:1 threading). libpthread (m:n threading) does not work. +ifdef LISP_FEATURE_SB_THREAD + #OS_LIBS += -lpthread + OS_LIBS += -lthr +endif + +CFLAGS += -fno-omit-frame-pointer