mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Use current GNU binutils from ports (devel/binutils) instead of the
system tools. The latter are half a decade old and fail to properly support modern CPUs and their standard features such as SSE or AVX in the case of AMD64/Intel64 which means that they even break when using a simple -march=native. On the way, sort CONFIGURE_ARGS. PR: 140995, 136607
This commit is contained in:
parent
cb35cb5c5b
commit
61c6070cab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=245053
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 4.5.0.20091126
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang java
|
||||
MASTER_SITES= ${MASTER_SITE_GCC}
|
||||
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
|
||||
@ -21,6 +22,8 @@ COMMENT= GNU Compiler Collection 4.5
|
||||
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4 \
|
||||
mpfr.3:${PORTSDIR}/math/mpfr \
|
||||
mpc.2:${PORTSDIR}/math/mpc
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
|
||||
RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
|
||||
|
||||
.if defined(MAINTAINER_MODE)
|
||||
DISTFILES+= gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX}
|
||||
@ -61,13 +64,14 @@ LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
|
||||
GNU_CONFIGURE= yes
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
CONFIGURE_ARGS+=--disable-nls \
|
||||
--with-system-zlib \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
--with-gmp=${LOCALBASE} \
|
||||
--program-suffix=${SUFFIX} \
|
||||
--libdir=${TARGLIB} \
|
||||
--libexecdir=${LIBEXEC} \
|
||||
--with-gxx-include-dir=${TARGLIB}/include/c++/
|
||||
--program-suffix=${SUFFIX} \
|
||||
--with-as=${LOCALBASE}/bin/as \
|
||||
--with-gmp=${LOCALBASE} \
|
||||
--with-gxx-include-dir=${TARGLIB}/include/c++/ \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
--with-system-zlib
|
||||
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
|
||||
ALL_TARGET= bootstrap-lean
|
||||
USE_LDCONFIG= ${TARGLIB}
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 4.5.0.20091126
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang java
|
||||
MASTER_SITES= ${MASTER_SITE_GCC}
|
||||
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
|
||||
@ -21,6 +22,8 @@ COMMENT= GNU Compiler Collection 4.5
|
||||
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4 \
|
||||
mpfr.3:${PORTSDIR}/math/mpfr \
|
||||
mpc.2:${PORTSDIR}/math/mpc
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
|
||||
RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
|
||||
|
||||
.if defined(MAINTAINER_MODE)
|
||||
DISTFILES+= gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX}
|
||||
@ -61,13 +64,14 @@ LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
|
||||
GNU_CONFIGURE= yes
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
CONFIGURE_ARGS+=--disable-nls \
|
||||
--with-system-zlib \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
--with-gmp=${LOCALBASE} \
|
||||
--program-suffix=${SUFFIX} \
|
||||
--libdir=${TARGLIB} \
|
||||
--libexecdir=${LIBEXEC} \
|
||||
--with-gxx-include-dir=${TARGLIB}/include/c++/
|
||||
--program-suffix=${SUFFIX} \
|
||||
--with-as=${LOCALBASE}/bin/as \
|
||||
--with-gmp=${LOCALBASE} \
|
||||
--with-gxx-include-dir=${TARGLIB}/include/c++/ \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
--with-system-zlib
|
||||
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
|
||||
ALL_TARGET= bootstrap-lean
|
||||
USE_LDCONFIG= ${TARGLIB}
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 4.5.0.20091126
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang java
|
||||
MASTER_SITES= ${MASTER_SITE_GCC}
|
||||
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
|
||||
@ -21,6 +22,8 @@ COMMENT= GNU Compiler Collection 4.5
|
||||
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4 \
|
||||
mpfr.3:${PORTSDIR}/math/mpfr \
|
||||
mpc.2:${PORTSDIR}/math/mpc
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
|
||||
RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
|
||||
|
||||
.if defined(MAINTAINER_MODE)
|
||||
DISTFILES+= gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX}
|
||||
@ -61,13 +64,14 @@ LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
|
||||
GNU_CONFIGURE= yes
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
CONFIGURE_ARGS+=--disable-nls \
|
||||
--with-system-zlib \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
--with-gmp=${LOCALBASE} \
|
||||
--program-suffix=${SUFFIX} \
|
||||
--libdir=${TARGLIB} \
|
||||
--libexecdir=${LIBEXEC} \
|
||||
--with-gxx-include-dir=${TARGLIB}/include/c++/
|
||||
--program-suffix=${SUFFIX} \
|
||||
--with-as=${LOCALBASE}/bin/as \
|
||||
--with-gmp=${LOCALBASE} \
|
||||
--with-gxx-include-dir=${TARGLIB}/include/c++/ \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
--with-system-zlib
|
||||
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
|
||||
ALL_TARGET= bootstrap-lean
|
||||
USE_LDCONFIG= ${TARGLIB}
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 4.5.0.20091126
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang java
|
||||
MASTER_SITES= ${MASTER_SITE_GCC}
|
||||
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
|
||||
@ -21,6 +22,8 @@ COMMENT= GNU Compiler Collection 4.5
|
||||
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4 \
|
||||
mpfr.3:${PORTSDIR}/math/mpfr \
|
||||
mpc.2:${PORTSDIR}/math/mpc
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
|
||||
RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
|
||||
|
||||
.if defined(MAINTAINER_MODE)
|
||||
DISTFILES+= gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX}
|
||||
@ -61,13 +64,14 @@ LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
|
||||
GNU_CONFIGURE= yes
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
CONFIGURE_ARGS+=--disable-nls \
|
||||
--with-system-zlib \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
--with-gmp=${LOCALBASE} \
|
||||
--program-suffix=${SUFFIX} \
|
||||
--libdir=${TARGLIB} \
|
||||
--libexecdir=${LIBEXEC} \
|
||||
--with-gxx-include-dir=${TARGLIB}/include/c++/
|
||||
--program-suffix=${SUFFIX} \
|
||||
--with-as=${LOCALBASE}/bin/as \
|
||||
--with-gmp=${LOCALBASE} \
|
||||
--with-gxx-include-dir=${TARGLIB}/include/c++/ \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
--with-system-zlib
|
||||
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
|
||||
ALL_TARGET= bootstrap-lean
|
||||
USE_LDCONFIG= ${TARGLIB}
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 4.5.0.20091126
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang java
|
||||
MASTER_SITES= ${MASTER_SITE_GCC}
|
||||
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
|
||||
@ -21,6 +22,8 @@ COMMENT= GNU Compiler Collection 4.5
|
||||
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4 \
|
||||
mpfr.3:${PORTSDIR}/math/mpfr \
|
||||
mpc.2:${PORTSDIR}/math/mpc
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
|
||||
RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
|
||||
|
||||
.if defined(MAINTAINER_MODE)
|
||||
DISTFILES+= gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX}
|
||||
@ -61,13 +64,14 @@ LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
|
||||
GNU_CONFIGURE= yes
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
CONFIGURE_ARGS+=--disable-nls \
|
||||
--with-system-zlib \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
--with-gmp=${LOCALBASE} \
|
||||
--program-suffix=${SUFFIX} \
|
||||
--libdir=${TARGLIB} \
|
||||
--libexecdir=${LIBEXEC} \
|
||||
--with-gxx-include-dir=${TARGLIB}/include/c++/
|
||||
--program-suffix=${SUFFIX} \
|
||||
--with-as=${LOCALBASE}/bin/as \
|
||||
--with-gmp=${LOCALBASE} \
|
||||
--with-gxx-include-dir=${TARGLIB}/include/c++/ \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
--with-system-zlib
|
||||
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
|
||||
ALL_TARGET= bootstrap-lean
|
||||
USE_LDCONFIG= ${TARGLIB}
|
||||
|
Loading…
Reference in New Issue
Block a user