freebsd-ports/lang/sbcl/files/patch-src_runtime_Config.x86-freebsd
Joseph Mingrone bb15918c98
lang/sbcl: Fix build on i386
SBCL's internal build configuration for FreeBSD amd64 uses
-isystem/usr/local/include and -L/usr/local/lib.  For some reason, the
same configure for FreeBSD i386 did not include these.  Fix the build on
i386 by adding them.

Reported by:	krion (maintainer)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D42450
2023-11-05 12:39:22 -04:00

12 lines
429 B
Text

--- src/runtime/Config.x86-freebsd.orig 2023-11-03 01:58:54 UTC
+++ src/runtime/Config.x86-freebsd
@@ -17,7 +17,8 @@ LINKFLAGS += -dynamic -Wl,--export-dynamic -m32
# runtime.
LINKFLAGS += -dynamic -Wl,--export-dynamic -m32
-OS_LIBS += -lutil
+OS_LIBS += -lutil -L/usr/local/lib
+CPPFLAGS += -isystem/usr/local/include
# use libthr (1:1 threading). libpthread (m:n threading) does not work.
ifdef LISP_FEATURE_SB_THREAD