Remove more disassembler bogosity
[sbcl.git] / src / runtime / Config.x86-darwin
blobaa853491932350c71491fb748a9b92ffe36ddf14
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 = -arch i386 -g -Wall -O2 -fdollars-in-identifiers -fno-omit-frame-pointer
14 LINKFLAGS += -arch i386
15 ifdef SBCL_MACOSX_VERSION_MIN
16   CFLAGS += -mmacosx-version-min=$(SBCL_MACOSX_VERSION_MIN)
17   LINKFLAGS += -mmacosx-version-min=$(SBCL_MACOSX_VERSION_MIN)
18 else
19   ifdef LISP_FEATURE_DARWIN9_OR_BETTER
20     CFLAGS += -mmacosx-version-min=10.5
21     LINKFLAGS += -mmacosx-version-min=10.5
22   else
23     CFLAGS += -mmacosx-version-min=10.4
24     LINKFLAGS += -mmacosx-version-min=10.4
25   endif
26 endif
28 OS_SRC = bsd-os.c x86-bsd-os.c darwin-os.c x86-darwin-os.c
30 OS_LIBS = -lSystem -lc -ldl
31 ifdef LISP_FEATURE_SB_THREAD
32   OS_LIBS += -lpthread
33 endif
34 ifdef LISP_FEATURE_SB_CORE_COMPRESSION
35   OS_LIBS += -lz
36 endif
37 ifndef LISP_FEATURE_SB_DYNAMIC_CORE
38   LINKFLAGS +=-Wl,-no_pie
39 endif
41 ASSEM_SRC = x86-assem.S ldso-stubs.S
42 ARCH_SRC = x86-arch.c
44 CPPFLAGS += -no-cpp-precomp
46 GC_SRC = gencgc.c
48 .PHONY: after-grovel-headers
50 # Nothing to do.
51 after-grovel-headers: