0.8.3.78:
[sbcl.git] / src / runtime / Config.ppc-darwin
index 7f66fd4..a208c5d 100644 (file)
@@ -1,19 +1,17 @@
 # -*- makefile -*-
-CFLAGS =  -ggdb -Wall -O3 -traditional-cpp
-OS_SRC = bsd-os.c os-common.c ppc-darwin-os.c
-OS_LIBS = -lSystem -lc -lm /sw/lib/libdl.a
+CFLAGS = -DDARWIN -Dppc -g -Wall -O3 -no-cpp-precomp
+OS_SRC = bsd-os.c os-common.c ppc-darwin-os.c ppc-darwin-dlshim.c
+OS_LIBS = -lSystem -lc -lm
+
+# Avoid the dreaded gcc 3.3 prerelease tarpit of death!
+CC = gcc3
 
 ASSEM_SRC = ppc-assem.S ldso-stubs.S
 ARCH_SRC = ppc-arch.c
 
-CPP = cpp -traditional-cpp
+CPP = cpp -no-cpp-precomp
 
-# Until sbcl-0.6.7.3, we used "OS_LINK_FLAGS=-static" here, which
-# worked fine for most things, but LOAD-FOREIGN & friends require
-# dlopen() etc., which in turn depend on dynamic linking of the
-# runtime.
-OS_LINK_FLAGS = -dynamic -L/sw/lib
+OS_LINK_FLAGS = -dynamic -L$(HOME)/local/lib -L/sw/lib -L/opt/local/lib -L/usr/local/lib
 
 GC_SRC= cheneygc.c
 
-CFLAGS=-DDARWIN -Dppc -g -traditional-cpp