git: 3ae5feae31f8 - main - lang/guile: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jun 2023 16:54:07 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3ae5feae31f8ae7f7a9ef48ae0c120a930491967
commit 3ae5feae31f8ae7f7a9ef48ae0c120a930491967
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-05-24 10:33:46 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-06-05 16:52:59 +0000
lang/guile: fix build on armv7
Build with clang and obey WITH_LTO.
This fixes the build on armv7.
Suggested by: andrew@tao11.riddles.org.uk
Approved by: bofh (maintainer)
Differential Revision: https://reviews.freebsd.org/D40255
---
lang/guile/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lang/guile/Makefile b/lang/guile/Makefile
index 9304e4cf3acf..a263a16fd376 100644
--- a/lang/guile/Makefile
+++ b/lang/guile/Makefile
@@ -1,6 +1,6 @@
PORTNAME= guile
PORTVERSION= 3.0.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang scheme
MASTER_SITES= GNU
@@ -20,12 +20,13 @@ LIB_DEPENDS= libffi.so:devel/libffi \
libltdl.so:devel/libltdl \
libunistring.so:devel/libunistring
-USES= charsetfix compiler:gcc-c++11-lib cpe gmake iconv libtool \
+USES= charsetfix compiler:c11 cpe gmake iconv libtool \
makeinfo pathfix pkgconfig readline tar:lz
CPE_VENDOR= gnu
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-lto=${WITHOUT_LTO:Dno:U${WITH_LTO:Dyes:Uno}}
#MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install-strip