Prune old and used stuff from makefiles.
[sbcl.git] / src / runtime / Config.generic-openbsd
blob93023740a69a300fe99ddd00cbad7cf73d58bf20
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
4 # more information.
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 LINKFLAGS += -export-dynamic
13 OS_LIBS += -lutil
15 # If the compiler recognizes a -nopie flag then we're building on a
16 # PIE-by-default system, so disable PIE.
17 ifneq ($(shell $(CC) -dumpspecs 2>/dev/null | grep -e -nopie),)
18 CFLAGS += -fno-pie
19 LINKFLAGS += -nopie
20 endif
22 ifdef LISP_FEATURE_SB_THREAD
23 CFLAGS += -pthread
24 OS_LIBS += -pthread
25 endif