X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FConfig.x86-darwin;h=b05880e00c5387d5d47cdcdf5e30b0bafbe2ef57;hb=743831e679b673a5680a0afd8402911516bf50e2;hp=ff19612a070aec1e7f9f90403ac99548fea12f4c;hpb=9e0cc7f6afca5682944d9cc88eed63b5d80cbe9e;p=sbcl.git diff --git a/src/runtime/Config.x86-darwin b/src/runtime/Config.x86-darwin index ff19612..b05880e 100644 --- a/src/runtime/Config.x86-darwin +++ b/src/runtime/Config.x86-darwin @@ -9,9 +9,21 @@ # provided with absolutely no warranty. See the COPYING and CREDITS # files for more information. -CFLAGS = -arch i386 -g -Wall -O2 -fdollars-in-identifiers -mmacosx-version-min=10.4 -LINKFLAGS += -arch i386 -mmacosx-version-min=10.4 -OS_SRC = bsd-os.c x86-bsd-os.c darwin-os.c x86-darwin-os.c darwin-dlshim.c darwin-langinfo.c +CFLAGS = -arch i386 -g -Wall -O2 -fdollars-in-identifiers +LINKFLAGS += -arch i386 +ifdef LISP_FEATURE_DARWIN9_OR_BETTER +CFLAGS += -mmacosx-version-min=10.5 +LINKFLAGS += -mmacosx-version-min=10.5 +else +CFLAGS += -mmacosx-version-min=10.4 +LINKFLAGS += -mmacosx-version-min=10.4 +endif + +OS_SRC = bsd-os.c x86-bsd-os.c darwin-os.c x86-darwin-os.c darwin-langinfo.c +ifdef LISP_FEATURE_DLSHIM + OS_SRC += darwin-dlshim.c +endif + OS_LIBS = -lSystem -lc -ldl ifdef LISP_FEATURE_SB_THREAD OS_LIBS += -lpthread