summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2022-01-21 15:23:32 +0000
committerbsiegert <bsiegert@pkgsrc.org>2022-01-21 15:23:32 +0000
commit196a3758680f4164b4052854bc26e03397b4cf15 (patch)
treeee2b9ef0d5eebd21169d0d78f86860d1b34cc018
parent2f7ebcc61c3ade130980291c0923b0a535ca069a (diff)
downloadpkgsrc-196a3758680f4164b4052854bc26e03397b4cf15.tar.gz
Pullup ticket #6569 - requested by tnn
cross/aarch64-none-elf-gcc: NetBSD 9 build fix cross/arm-none-eabi-gcc: NetBSD 9 build fix Revisions pulled up: - cross/aarch64-none-elf-gcc/Makefile 1.19 - cross/arm-none-eabi-gcc/Makefile 1.34 --- Module Name: pkgsrc Committed By: tnn Date: Sun Jan 16 21:10:18 UTC 2022 Modified Files: pkgsrc/cross/aarch64-none-elf-gcc: Makefile pkgsrc/cross/arm-none-eabi-gcc: Makefile Log Message: cross/*: fix bare-metal ARM toolchains on netbsd-9. PR pkg/56609
-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..a3b70177376 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.18.2.1 2022/01/21 15:23:32 bsiegert 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..6e645c79d3c 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.33.2.1 2022/01/21 15:23:32 bsiegert 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}