Clean up OpenBSD makefile fragments a little.
authorJoshua Elsasser <joshua@elsasser.org>
Sun, 19 Feb 2012 23:25:42 +0000 (15:25 -0800)
committerJoshua Elsasser <joshua@elsasser.org>
Sun, 19 Feb 2012 23:25:42 +0000 (15:25 -0800)
It seems -export-dynamic is no longer necessary for
tools-for-build. Perhaps it never was, and I was just confused.

src/runtime/Config.ppc-openbsd
src/runtime/Config.x86-64-openbsd
src/runtime/Config.x86-openbsd

index ae2496f..fd165fb 100644 (file)
@@ -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
index e893ee0..2077ec1 100644 (file)
@@ -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
index 144cc2b..40f6fc9 100644 (file)
@@ -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