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 # DragonFly BSD config is a modification of one for FreeBSD
14 include Config.x86-bsd
16 ASSEM_SRC += ldso-stubs.S
17 LINKFLAGS += -dynamic -export-dynamic
18 # Link against pthread even if we do not want threaded SBCL
19 # This is because of bug in DragonFly RTLD which sometimes
20 # (in very rare situations) makes loading threaded libraries
21 # impossible without it.
22 # See: https://bugs.dragonflybsd.org/issues/2663
23 OS_LIBS += -lutil -lpthread
25 CFLAGS += -fno-omit-frame-pointer