# provided with absolutely no warranty. See the COPYING and CREDITS
# files for more information.
-# XXX why do all the other Configs set LINKFLAGS instead of LDFLAGS?
-# LINKFLAGS is only used in src/runtime/GNUmakefile, this causes the
-# dladdr test in tools-for-build/ to fail.
-
LINKFLAGS += -export-dynamic
-LDFLAGS += -export-dynamic
ASSEM_SRC = ppc-assem.S ldso-stubs.S
ARCH_SRC = ppc-arch.c
OS_SRC = bsd-os.c ppc-bsd-os.c
OS_LIBS = -lutil
+
ifdef LISP_FEATURE_SB_CORE_COMPRESSION
OS_LIBS += -lz
endif
ASSEM_SRC += ldso-stubs.S
OS_LIBS += -lutil
-# XXX why do all the other Configs set LINKFLAGS instead of LDFLAGS?
-# LINKFLAGS is only used in src/runtime/GNUmakefile, this causes the
-# dladdr test in tools-for-build/ to fail.
-
LINKFLAGS += -export-dynamic
-LDFLAGS += -export-dynamic
# locations used. If you wish to link the runtime using -Z option then
# please see the comments in src/compiler/x86/parms.lisp
-# XXX why do all the other Configs set LINKFLAGS instead of LDFLAGS?
-# LINKFLAGS is only used in src/runtime/GNUmakefile, this causes the
-# dladdr test in tools-for-build/ to fail.
-
LINKFLAGS += -export-dynamic
-LDFLAGS += -export-dynamic
-CFLAGS = -g -Wall -O2 -fno-omit-frame-pointer
+CFLAGS += -fno-omit-frame-pointer