git: 41b3872375f4 - main - multimedia/mythtv: Fix build on aarch64
Mikael Urankar
mikael at FreeBSD.org
Tue Sep 14 17:56:13 UTC 2021
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=41b3872375f4ceb55a8aa0856bdb326dcf0a40d2
commit 41b3872375f4ceb55a8aa0856bdb326dcf0a40d2
Author: Mikael Urankar <mikael at FreeBSD.org>
AuthorDate: 2021-09-14 13:48:02 +0000
Commit: Mikael Urankar <mikael at 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}
More information about the dev-commits-ports-all
mailing list