1 # -*- makefile -*- for the C-level run-time support for SBCL
3 # This software is part of the SBCL system. See the README file for
6 # This software is derived from the CMU CL system, which was
7 # written at Carnegie Mellon University and released into the
8 # public domain. The software is in the public domain and is
9 # provided with absolutely no warranty. See the COPYING and CREDITS
10 # files for more information.
12 include Config.x86-bsd
14 ASSEM_SRC += ldso-stubs.S
16 # Until sbcl-0.6.7.3, we used "LINKFLAGS+=-static" here, which
17 # worked fine for most things, but LOAD-FOREIGN & friends require
18 # dlopen() etc., which in turn depend on dynamic linking of the
20 LINKFLAGS += -dynamic -Wl,--export-dynamic -m32
24 # use libthr (1:1 threading). libpthread (m:n threading) does not work.
25 ifdef LISP_FEATURE_SB_THREAD
30 CFLAGS += -fno-omit-frame-pointer -m32