X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FConfig.x86-openbsd;h=40f6fc95e09b1762ab23788bb02dc27fdc9f1516;hb=d833d62dd152879f1aa4e974bd8337c51905d5ba;hp=1cf879d455e0b3bb3a5b6bd866cff05d641f04b7;hpb=b1150c0fd4792d9d0c9407bb3da5d8e1943514d0;p=sbcl.git diff --git a/src/runtime/Config.x86-openbsd b/src/runtime/Config.x86-openbsd index 1cf879d..40f6fc9 100644 --- a/src/runtime/Config.x86-openbsd +++ b/src/runtime/Config.x86-openbsd @@ -11,11 +11,13 @@ include Config.x86-bsd -# KLUDGE: It might seem as though dynamic libraries should work the -# same way on both systems, but in fact gcc supports the "-export-dynamic" -# option on FreeBSD but not on OpenBSD. The documentation I've been -# able to find doesn't seem to begin to explain what's going on (e.g. I -# have never found documentation for the "-export-dynamic" option), -# so I've just punted and left link flags for OpenBSD in their -# pre-dynamic-library-support state. -- WHN 2000-10-02 -LINKFLAGS += -static +ASSEM_SRC += ldso-stubs.S +OS_LIBS += -lutil + +# The -Z linker flag conflicts with the default address space +# locations used. If you wish to link the runtime using -Z option then +# please see the comments in src/compiler/x86/parms.lisp + +LINKFLAGS += -export-dynamic + +CFLAGS += -fno-omit-frame-pointer