summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2022-01-16 21:10:17 +0000
committertnn <tnn@pkgsrc.org>2022-01-16 21:10:17 +0000
commit73b8e31ccce0a2be727303cee8f0782e0d896b10 (patch)
treea31ece80611c40b4d88b31a465fc5defc7526e90 /cross
parent5ac50667d1cd441d5c9ecc9ebf630dc38239543c (diff)
downloadpkgsrc-73b8e31ccce0a2be727303cee8f0782e0d896b10.tar.gz
cross/*: fix bare-metal ARM toolchains on netbsd-9. PR pkg/56609
Diffstat (limited to 'cross')
-rw-r--r--cross/aarch64-none-elf-gcc/Makefile3
-rw-r--r--cross/arm-none-eabi-gcc/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/cross/aarch64-none-elf-gcc/Makefile b/cross/aarch64-none-elf-gcc/Makefile
index 4042975b6a1..b130fd67181 100644
--- a/cross/aarch64-none-elf-gcc/Makefile
+++ b/cross/aarch64-none-elf-gcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2021/12/15 21:55:48 tnn Exp $
+# $NetBSD: Makefile,v 1.19 2022/01/16 21:10:17 tnn Exp $
DISTNAME= gcc-8.2.0
PKGNAME= cross-aarch64-none-elf-${DISTNAME}
@@ -37,6 +37,7 @@ USE_TOOLS+= bash gmake makeinfo perl
GNU_CONFIGURE= yes
GNU_CONFIGURE_STRICT= no # has sub-configures
CHECK_PORTABILITY_SKIP+=contrib/*
+MKPIE_SUPPORTED= no # relocation errors on netbsd-9 aarch64
GNU_CONFIGURE_PREFIX= ${AARCH64ELF_PREFIX}
diff --git a/cross/arm-none-eabi-gcc/Makefile b/cross/arm-none-eabi-gcc/Makefile
index 401b6e8069e..3fbd52d5041 100644
--- a/cross/arm-none-eabi-gcc/Makefile
+++ b/cross/arm-none-eabi-gcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2021/12/15 21:55:48 tnn Exp $
+# $NetBSD: Makefile,v 1.34 2022/01/16 21:10:18 tnn Exp $
DISTNAME= gcc-8.3.0
PKGNAME= cross-arm-none-eabi-${DISTNAME}
@@ -37,6 +37,7 @@ USE_TOOLS+= bash gmake gsed makeinfo perl
GNU_CONFIGURE= yes
GNU_CONFIGURE_STRICT= no # has sub-configures
CHECK_PORTABILITY_SKIP+=contrib/*
+MKPIE_SUPPORTED= no # relocation errors on netbsd-9 aarch64
GNU_CONFIGURE_PREFIX= ${ARMELF_PREFIX}