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 LINKFLAGS += -dynamic -export-dynamic
17 # Link against pthread even if we do not want threaded SBCL
18 # This is because of bug in DragonFly RTLD which sometimes
19 # (in very rare situations) makes loading threaded libraries
20 # impossible without it.
21 # See: https://bugs.dragonflybsd.org/issues/2663
22 OS_LIBS += -lutil -lpthread
24 CFLAGS += -fno-omit-frame-pointer