summaryrefslogtreecommitdiff
path: root/cross/arm-none-eabi-gcc
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2017-09-20 03:49:55 +0000
committerryoon <ryoon@pkgsrc.org>2017-09-20 03:49:55 +0000
commit9f7f057bb6abb6212d8edc652d51f1e6d82e9af3 (patch)
tree8a32097ef06d34e878305e15b40ed5665b6e4025 /cross/arm-none-eabi-gcc
parent67cf410f0ce26926eeffb2b1a09a4aa9c2991fac (diff)
downloadpkgsrc-9f7f057bb6abb6212d8edc652d51f1e6d82e9af3.tar.gz
Fix build under NetBSD/amd64 7.1,i 8.0 BETA and 8.99.2
and supress warnings during extraction with bsdtar
Diffstat (limited to 'cross/arm-none-eabi-gcc')
-rw-r--r--cross/arm-none-eabi-gcc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/cross/arm-none-eabi-gcc/Makefile b/cross/arm-none-eabi-gcc/Makefile
index 15853129e51..77c0a72fcf0 100644
--- a/cross/arm-none-eabi-gcc/Makefile
+++ b/cross/arm-none-eabi-gcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2017/08/31 19:55:19 sevan Exp $
+# $NetBSD: Makefile,v 1.8 2017/09/20 03:49:55 ryoon Exp $
DISTNAME= gcc-7.2.0
PKGNAME= cross-arm-none-eabi-${DISTNAME}
@@ -14,6 +14,8 @@ HOMEPAGE= # none
COMMENT= GCC for bare metal ARM EABI
EXTRACT_SUFX= .tar.gz
+EXTRACT_USING= bsdtar
+
# for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33549
# use makeinfo from pkgsrc/devel/gtexinfo.
TOOL_DEPENDS+= gtexinfo>=5.1:../../devel/gtexinfo
@@ -59,7 +61,7 @@ PLIST_VARS+= libcpp
CFLAGS+= -fbracket-depth=1024
.endif
-.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux"
+.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD"
PLIST.libcpp= yes
.endif