pkgsrc/lang/sbcl/patches/patch-src_runtime_Config.arm-netbsd
he 335950688a Re-work the configuration patches a bit.
Verified to build on NetBSD/{macppc,i386,amd64}.
The NetBSD/arm build fails because I can't get lang/clisp to work for it.
Bump PKGREVISION.
2019-11-10 16:58:31 +00:00

23 lines
631 B
Text

$NetBSD: patch-src_runtime_Config.arm-netbsd,v 1.2 2019/11/10 16:58:31 he Exp $
Use Config.generic-netbsd, don't override OS_LIBS, but add to it.
--- src/runtime/Config.arm-netbsd.orig 2019-09-28 09:49:01.000000000 +0000
+++ src/runtime/Config.arm-netbsd
@@ -9,14 +9,10 @@
# provided with absolutely no warranty. See the COPYING and CREDITS
# files for more information.
+include Config.generic-netbsd
include Config.arm-bsd
-ASSEM_SRC += ldso-stubs.S
-OS_LIBS = -lutil -larm
-
-ifdef LISP_FEATURE_SB_THREAD
- OS_LIBS += -lpthread -lrt
-endif
+OS_LIBS += -larm
LINKFLAGS += -export-dynamic
LDFLAGS += -export-dynamic