Changeset View
Changeset View
Standalone View
Standalone View
lang/gcc5/Makefile
# Created by: Gerald Pfeifer <gerald@FreeBSD.org> | # Created by: Gerald Pfeifer <gerald@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= gcc | PORTNAME= gcc | ||||
PORTVERSION= 5.5.0 | PORTVERSION= 5.5.0 | ||||
CATEGORIES= lang | CATEGORIES= lang | ||||
MASTER_SITES= GCC/releases/gcc-${DISTVERSION} | MASTER_SITES= GCC/releases/gcc-${DISTVERSION} | ||||
PKGNAMESUFFIX= ${SUFFIX} | PKGNAMESUFFIX= ${SUFFIX} | ||||
MAINTAINER= gerald@FreeBSD.org | MAINTAINER= gerald@FreeBSD.org | ||||
COMMENT= GNU Compiler Collection 5 | COMMENT= GNU Compiler Collection 5 | ||||
LICENSE= GPLv3 GPLv3RLE | LICENSE= GPLv3 GPLv3RLE | ||||
LICENSE_COMB= multi | LICENSE_COMB= multi | ||||
ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 i386 powerpc powerpc64 sparc64 | ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 i386 powerpc powerpcspe powerpc64 sparc64 | ||||
BROKEN_sparc64= Does not build: bootstrap comparison failure | BROKEN_sparc64= Does not build: bootstrap comparison failure | ||||
LIB_DEPENDS= libgmp.so:math/gmp \ | LIB_DEPENDS= libgmp.so:math/gmp \ | ||||
libmpfr.so:math/mpfr \ | libmpfr.so:math/mpfr \ | ||||
libmpc.so:math/mpc | libmpc.so:math/mpc | ||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | ||||
RUN_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | RUN_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | ||||
Show All 27 Lines | |||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${ARCH} == amd64 | .if ${ARCH} == amd64 | ||||
CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} | CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} | ||||
.endif | .endif | ||||
.if ${ARCH} == powerpc64 | .if ${ARCH} == powerpc64 | ||||
CONFIGURE_ENV+= UNAME_m="powerpc64" | CONFIGURE_ENV+= UNAME_m="powerpc64" | ||||
.endif | |||||
.if ${ARCH} == powerpcspe | |||||
CONFIGURE_ARGS+= --with-cpu=8540 --enable-e500_double --without-fp | |||||
.endif | .endif | ||||
.if ${ARCH} == aarch64 || ${ARCH} == armv6 | .if ${ARCH} == aarch64 || ${ARCH} == armv6 | ||||
. if ${COMPILER_TYPE} == clang | . if ${COMPILER_TYPE} == clang | ||||
. if empty(PORT_OPTIONS:MBOOTSTRAP) | . if empty(PORT_OPTIONS:MBOOTSTRAP) | ||||
MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512 | MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512 | ||||
. else | . else | ||||
MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 | MAKE_ARGS+=STAGE1_CXXFLAGS=-fbracket-depth=512 | ||||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |