aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2021-09-14 13:48:02 +0000
committerMikael Urankar <mikael@FreeBSD.org>2021-09-14 17:56:05 +0000
commit41b3872375f4ceb55a8aa0856bdb326dcf0a40d2 (patch)
treeea3aedad40e440bd73c236cc2aeb2883cac50e10
parentd4f6b67813286c57d9455ad5173d45c33e4a4459 (diff)
downloadports-41b3872375f4ceb55a8aa0856bdb326dcf0a40d2.tar.gz
ports-41b3872375f4ceb55a8aa0856bdb326dcf0a40d2.zip
multimedia/mythtv: Fix build on aarch64
Approved by: portmgr (build fix blanket)
-rw-r--r--multimedia/mythtv/Makefile3
1 files changed, 2 insertions, 1 deletions
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}