Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2021 17:56:13 GMT
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 41b3872375f4 - main - multimedia/mythtv: Fix build on aarch64
Message-ID:  <202109141756.18EHuDJm016328@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=41b3872375f4ceb55a8aa0856bdb326dcf0a40d2

commit 41b3872375f4ceb55a8aa0856bdb326dcf0a40d2
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2021-09-14 13:48:02 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2021-09-14 17:56:05 +0000

    multimedia/mythtv: Fix build on aarch64
    
    Approved by:    portmgr (build fix blanket)
---
 multimedia/mythtv/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/multimedia/mythtv/Makefile b/multimedia/mythtv/Makefile
index f59d9b79c982..5bc5ac29ab2b 100644
--- a/multimedia/mythtv/Makefile
+++ b/multimedia/mythtv/Makefile
@@ -13,7 +13,7 @@ COMMENT?=	Homebrew PVR project
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-ONLY_FOR_ARCHS=	amd64 i386 powerpc64 powerpc64le
+ONLY_FOR_ARCHS=	aarch64 amd64 i386 powerpc64 powerpc64le
 .if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
 BROKEN_i386=	ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment
 .endif
@@ -60,6 +60,7 @@ NOPRECIOUSMAKEVARS=	# don't override ARCH in ffmpeg makefiles
 DESTDIRNAME=	INSTALL_ROOT
 CPPFLAGS+=	${QTCPPFLAGS}
 LDFLAGS+=	-L${LOCALBASE}/lib
+LDFLAGS_aarch64=-Wl,-z,notext
 
 REINPLACE_ARGS=	-i ""
 WRKSRC_SUBDIR=	${PORTNAME}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109141756.18EHuDJm016328>