X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FConfig.x86-freebsd;h=a30afdce82891df899aab0255ae8c056c739eadf;hb=eac461c1f1ca91cfe282c779291d582ed6b336cb;hp=65d2be52161539cb178faacbce44967829f38f99;hpb=b1150c0fd4792d9d0c9407bb3da5d8e1943514d0;p=sbcl.git diff --git a/src/runtime/Config.x86-freebsd b/src/runtime/Config.x86-freebsd index 65d2be5..a30afdc 100644 --- a/src/runtime/Config.x86-freebsd +++ b/src/runtime/Config.x86-freebsd @@ -18,3 +18,11 @@ ASSEM_SRC += ldso-stubs.S # dlopen() etc., which in turn depend on dynamic linking of the # runtime. 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