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-64-bsd
14 ASSEM_SRC += ldso-stubs.S
17 ifdef LISP_FEATURE_SB_THREAD
18 OS_LIBS += -lpthread -lrt
21 # XXX why do all the other Configs set LINKFLAGS instead of LDFLAGS?
22 # LINKFLAGS is only used in src/runtime/GNUmakefile, this causes the
23 # dladdr test in tools-for-build/ to fail.
25 LINKFLAGS += -export-dynamic
26 LDFLAGS += -export-dynamic