%other-pointer-widetag derive-type: derive for simple-array.
[sbcl.git] / src / runtime / Config.generic-openbsd
blob6936223e5d8683f939181b72b3ed98985a912ffa
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 += -Wl,-z,wxneeded
13 OS_LIBS += -lutil
15 ifdef LISP_FEATURE_SB_THREAD
16 CFLAGS += -pthread
17 OS_LIBS += -pthread
18 endif
20 ifeq ($(DISABLE_PIE),yes)
21 ifneq ($(shell $(CC) -dM -E - < /dev/null 2>/dev/null | grep -e '__clang__'),)
22 CFLAGS += -fno-pie
23 LINKFLAGS += -nopie
24 LDFLAGS += -nopie
25 __LDFLAGS__ += -nopie
26 endif
27 endif