# 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
OS_LIBS = -ldl
ifdef LISP_FEATURE_GENCGC
- GC_SRC = "gencgc.c"
+ GC_SRC = gencgc.c
else
- GC_SRC = "cheneygc.c"
+ 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.