summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjs <js@pkgsrc.org>2020-12-10 20:23:12 +0000
committerjs <js@pkgsrc.org>2020-12-10 20:23:12 +0000
commit5ea1672f113e8edf57cb94100ee9f477a197f1f2 (patch)
tree56405ef53fd096d9fa026f619ed44336d9bc8ed8 /sysutils
parentc2f58d668b9895d531700d8ab5263450a90ed548 (diff)
downloadpkgsrc-5ea1672f113e8edf57cb94100ee9f477a197f1f2.tar.gz
arm-trusted-firmware: Set RELRO_SUPPORTED=no
This does not work because it is using a cross-compiler and not the native toolchain, and said cross-compiler (or, rather, its linker) does not support relro.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/arm-trusted-firmware/arm-trusted-firmware.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/arm-trusted-firmware/arm-trusted-firmware.mk b/sysutils/arm-trusted-firmware/arm-trusted-firmware.mk
index 21c2eeb8778..606536db206 100644
--- a/sysutils/arm-trusted-firmware/arm-trusted-firmware.mk
+++ b/sysutils/arm-trusted-firmware/arm-trusted-firmware.mk
@@ -1,9 +1,10 @@
-# $NetBSD: arm-trusted-firmware.mk,v 1.1 2020/06/30 14:33:14 thorpej Exp $
+# $NetBSD: arm-trusted-firmware.mk,v 1.2 2020/12/10 20:23:12 js Exp $
.include "../../sysutils/arm-trusted-firmware/arm-trusted-firmware-dist.mk"
PKGNAME?= ${GITHUB_PROJECT}-${PLATFORM}-${VERSION}
+RELRO_SUPPORTED= no
MAKE_FLAGS+= CROSS_COMPILE=${PREFIX}/cross-aarch64-none-elf/bin/aarch64-none-elf-
.if !empty(ATF_CORTEX_M0:Myes)
MAKE_FLAGS+= M0_CROSS_COMPILE=${PREFIX}/cross-arm-none-eabi/bin/arm-none-eabi-