| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.12 2018/01/18 14:39:59 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.13 2018/01/22 04:38:42 dbj Exp $ |
2 | | | 2 | |
3 | DISTNAME= gcc-7.2.0 | | 3 | DISTNAME= gcc-7.2.0 |
4 | PKGNAME= cross-arm-none-eabi-${DISTNAME} | | 4 | PKGNAME= cross-arm-none-eabi-${DISTNAME} |
5 | CATEGORIES= cross | | 5 | CATEGORIES= cross |
6 | NEWLIBVER= 2.5.0 | | 6 | NEWLIBVER= 2.5.0 |
7 | MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${PKGVERSION_NOREV}/} | | 7 | MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${PKGVERSION_NOREV}/} |
8 | DISTFILES= ${DEFAULT_DISTFILES} \ | | 8 | DISTFILES= ${DEFAULT_DISTFILES} \ |
9 | newlib-${NEWLIBVER}.tar.gz | | 9 | newlib-${NEWLIBVER}.tar.gz |
10 | SITES.newlib-${NEWLIBVER}.tar.gz= ftp://sources.redhat.com/pub/newlib/ | | 10 | SITES.newlib-${NEWLIBVER}.tar.gz= ftp://sources.redhat.com/pub/newlib/ |
11 | | | 11 | |
12 | | | 12 | |
13 | MAINTAINER= ryoon@NetBSD.org | | 13 | MAINTAINER= ryoon@NetBSD.org |
14 | HOMEPAGE= # none | | 14 | HOMEPAGE= # none |
| @@ -50,27 +50,27 @@ CONFIGURE_ARGS+= --disable-libstdcxx-pch | | | @@ -50,27 +50,27 @@ CONFIGURE_ARGS+= --disable-libstdcxx-pch |
50 | | | 50 | |
51 | INFO_FILES= yes | | 51 | INFO_FILES= yes |
52 | | | 52 | |
53 | PLIST_VARS+= libcpp | | 53 | PLIST_VARS+= libcpp |
54 | | | 54 | |
55 | .include "../../mk/compiler.mk" | | 55 | .include "../../mk/compiler.mk" |
56 | .if !empty(PKGSRC_COMPILER:Mclang) | | 56 | .if !empty(PKGSRC_COMPILER:Mclang) |
57 | # geattrtab on neon.md results in a very deeply nested expression | | 57 | # geattrtab on neon.md results in a very deeply nested expression |
58 | # with > 255 brackets. This was reported against GCC 4.9.1 at least | | 58 | # with > 255 brackets. This was reported against GCC 4.9.1 at least |
59 | # already, but it seems noone cares enough in GCC to fix the generator. | | 59 | # already, but it seems noone cares enough in GCC to fix the generator. |
60 | CFLAGS+= -fbracket-depth=1024 | | 60 | CFLAGS+= -fbracket-depth=1024 |
61 | .endif | | 61 | .endif |
62 | | | 62 | |
63 | .if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" | | 63 | .if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" |
64 | PLIST.libcpp= yes | | 64 | PLIST.libcpp= yes |
65 | .endif | | 65 | .endif |
66 | | | 66 | |
67 | post-extract: | | 67 | post-extract: |
68 | ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/newlib ${WRKSRC}/newlib | | 68 | ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/newlib ${WRKSRC}/newlib |
69 | ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/libgloss ${WRKSRC}/libgloss | | 69 | ${LN} -s ${WRKDIR}/newlib-${NEWLIBVER}/libgloss ${WRKSRC}/libgloss |
70 | | | 70 | |
71 | pre-configure: | | 71 | pre-configure: |
72 | ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR} | | 72 | ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR} |
73 | | | 73 | |
74 | .include "../../devel/gmp/buildlink3.mk" | | 74 | .include "../../devel/gmp/buildlink3.mk" |
75 | .include "../../math/mpfr/buildlink3.mk" | | 75 | .include "../../math/mpfr/buildlink3.mk" |
76 | .include "../../math/mpcomplex/buildlink3.mk" | | 76 | .include "../../math/mpcomplex/buildlink3.mk" |