From: Joshua Elsasser Date: Sun, 19 Feb 2012 23:25:42 +0000 (-0800) Subject: Clean up OpenBSD makefile fragments a little. X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=b7a594e50e4da48ee230c148d2410881e7ed4a7c;p=sbcl.git Clean up OpenBSD makefile fragments a little. It seems -export-dynamic is no longer necessary for tools-for-build. Perhaps it never was, and I was just confused. --- diff --git a/src/runtime/Config.ppc-openbsd b/src/runtime/Config.ppc-openbsd index ae2496f..fd165fb 100644 --- a/src/runtime/Config.ppc-openbsd +++ b/src/runtime/Config.ppc-openbsd @@ -9,18 +9,14 @@ # 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 diff --git a/src/runtime/Config.x86-64-openbsd b/src/runtime/Config.x86-64-openbsd index e893ee0..2077ec1 100644 --- a/src/runtime/Config.x86-64-openbsd +++ b/src/runtime/Config.x86-64-openbsd @@ -14,9 +14,4 @@ include Config.x86-64-bsd 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 diff --git a/src/runtime/Config.x86-openbsd b/src/runtime/Config.x86-openbsd index 144cc2b..40f6fc9 100644 --- a/src/runtime/Config.x86-openbsd +++ b/src/runtime/Config.x86-openbsd @@ -18,11 +18,6 @@ OS_LIBS += -lutil # 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