1.0.31.2: snow leopard (macos 10.6) build fixes
[sbcl.git] / src / runtime / Config.x86-darwin
1 # -*- makefile -*- for the C-level run-time support for SBCL
2
3 # This software is part of the SBCL system. See the README file for
4 # more information.
5 #
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.
11
12 CFLAGS = -arch i386 -g -Wall -O2 -fdollars-in-identifiers -mmacosx-version-min=10.4
13 LINKFLAGS += -arch i386 -mmacosx-version-min=10.4
14 OS_SRC = bsd-os.c x86-bsd-os.c darwin-os.c x86-darwin-os.c darwin-dlshim.c darwin-langinfo.c
15 OS_LIBS = -lSystem -lc -ldl
16 ifdef LISP_FEATURE_SB_THREAD
17   OS_LIBS += -lpthread
18 endif
19
20 CC = gcc
21
22 ASSEM_SRC = x86-assem.S ldso-stubs.S
23 ARCH_SRC = x86-arch.c
24
25 CPPFLAGS += -no-cpp-precomp
26
27 GC_SRC = gencgc.c
28
29 .PHONY: after-grovel-headers
30
31 # Nothing to do.
32 after-grovel-headers: