gencgc: More precise conservatism for pointers to boxed pages.
[sbcl.git] / src / runtime / Config.ppc-linux
index cce5c4c..21fedc9 100644 (file)
@@ -9,8 +9,8 @@
 # provided with absolutely no warranty. See the COPYING and CREDITS
 # files for more information.
 
-CFLAGS = -g
-LINKFLAGS += -v -rdynamic
+CFLAGS = -g -m32
+LINKFLAGS += -v -rdynamic -m32
 NM = ./linux-nm
 
 ASSEM_SRC = ppc-assem.S ldso-stubs.S
@@ -19,10 +19,18 @@ ARCH_SRC = ppc-arch.c
 OS_SRC = linux-os.c ppc-linux-os.c
 OS_LIBS = -ldl
 
-GC_SRC = $(shell if grep LISP_FEATURE_GENCGC genesis/config.h \
-                      > /dev/null 2>&1; \
-                   then echo "gencgc.c"; \
-                   else echo "cheneygc.c" ; fi)
+ifdef LISP_FEATURE_GENCGC
+  GC_SRC = gencgc.c
+else
+  GC_SRC = cheneygc.c
+endif
+
+ifdef LISP_FEATURE_SB_THREAD
+  OS_LIBS += -lpthread
+endif
+ifdef LISP_FEATURE_SB_CORE_COMPRESSION
+  OS_LIBS += -lz
+endif
 
 # Nothing to do for after-grovel-headers.
 .PHONY: after-grovel-headers