Skip to content
Browse files

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.
  • Loading branch information...
1 parent 622d651 commit b7a594e50e4da48ee230c148d2410881e7ed4a7c @jre jre committed Feb 19, 2012
Showing with 2 additions and 16 deletions.
  1. +1 −5 src/runtime/Config.ppc-openbsd
  2. +0 −5 src/runtime/Config.x86-64-openbsd
  3. +1 −6 src/runtime/Config.x86-openbsd
View
6 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
View
5 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
View
7 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

0 comments on commit b7a594e

Please sign in to comment.
Something went wrong with that request. Please try again.