Do a couple easy de-obfuscations
[sbcl.git] / src / runtime / Config.x86-64-darwin
blob849808e8af6ec06f092a073dab6333e6fb164836
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 CFLAGS += -g -Wall -fdollars-in-identifiers
14 ifdef SBCL_MACOSX_VERSION_MIN
15   CFLAGS += -mmacosx-version-min=$(SBCL_MACOSX_VERSION_MIN)
16   LINKFLAGS += -mmacosx-version-min=$(SBCL_MACOSX_VERSION_MIN)
17 else
18   CFLAGS += -mmacosx-version-min=10.9
19   LINKFLAGS += -mmacosx-version-min=10.9
20 endif
21 ifdef LISP_FEATURE_INODE64
22 CFLAGS += -D_DARWIN_USE_64_BIT_INODE
23 endif
25 OS_SRC = bsd-os.c x86-64-bsd-os.c darwin-os.c x86-64-darwin-os.c
27 OS_LIBS = -lSystem -lc -ldl
28 ifdef LISP_FEATURE_SB_THREAD
29   OS_LIBS += -lpthread
30 endif
31 ifdef LISP_FEATURE_SB_CORE_COMPRESSION
32   OS_LIBS += -lzstd
33 endif
34 ifdef LISP_FEATURE_SB_LINKABLE_RUNTIME
35   LIBSBCL = libsbcl.a
36   USE_LIBSBCL = -Wl,-force_load libsbcl.a
37 endif
39 ASSEM_SRC = x86-64-assem.S
40 ARCH_SRC = x86-64-arch.c
42 LINKFLAGS += -arch x86_64 -dynamic -twolevel_namespace -bind_at_load -pagezero_size 0x100000
44 CFLAGS += -arch x86_64 -fno-omit-frame-pointer
45 DISABLE_PIE=no
47 ifdef LISP_FEATURE_IMMOBILE_SPACE
48   GC_SRC = fullcgc.c gencgc.c traceroot.c immobile-space.c
49 else ifdef LISP_FEATURE_MARK_REGION_GC
50   GC_SRC = fullcgc.c pmrgc.c traceroot.c mark-region.c incremental-compact.c gc-thread-pool.c
51 else
52   GC_SRC = fullcgc.c gencgc.c traceroot.c
53 endif