Fix cut-to-width in the presence of bad constants in dead code.
[sbcl.git] / src / runtime / Config.x86-freebsd
index d3f9a27..a30afdc 100644 (file)
@@ -19,6 +19,10 @@ ASSEM_SRC += ldso-stubs.S
 # 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 += -lpthread
+  OS_LIBS += -lthr
 endif
+
+CFLAGS += -fno-omit-frame-pointer