summaryrefslogtreecommitdiff
path: root/lang/sbcl/patches/patch-src_runtime_Config.x86-64-netbsd
diff options
context:
space:
mode:
Diffstat (limited to 'lang/sbcl/patches/patch-src_runtime_Config.x86-64-netbsd')
-rw-r--r--lang/sbcl/patches/patch-src_runtime_Config.x86-64-netbsd23
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/sbcl/patches/patch-src_runtime_Config.x86-64-netbsd b/lang/sbcl/patches/patch-src_runtime_Config.x86-64-netbsd
new file mode 100644
index 00000000000..dc2a3725318
--- /dev/null
+++ b/lang/sbcl/patches/patch-src_runtime_Config.x86-64-netbsd
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_runtime_Config.x86-64-netbsd,v 1.1 2019/10/12 09:47:40 he Exp $
+
+Use Config.generic-netbsd, don't override OS_LIBS.
+
+--- src/runtime/Config.x86-64-netbsd.orig 2019-09-28 09:49:01.000000000 +0000
++++ src/runtime/Config.x86-64-netbsd
+@@ -9,15 +9,9 @@
+ # provided with absolutely no warranty. See the COPYING and CREDITS
+ # files for more information.
+
++include Config.generic-netbsd
+ include Config.x86-64-bsd
+
+-ASSEM_SRC += ldso-stubs.S
+-OS_LIBS += -lutil
+-
+-ifdef LISP_FEATURE_SB_THREAD
+- OS_LIBS += -lpthread -lrt
+-endif
+-
+ # 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.