mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
No longer require a not too old version of GCC to build on powerpc64, but
rely on the system compiler (even if that means we need to be explicitly conservative when it comes to optimizations). [1] Simplify the creation of the multilib-related sub-directory tree on powerpc64 and avoid leaving an empty directory behind on the way. [2] Sync pkg-descr with lang/gcc7-devel, in particular after r442530 there. PR: 235975 [1], 235964 [2], 231804 [2] Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> [1] Discussed with: Piotr Kubaj <pkubaj@anongoth.pl> [2]
This commit is contained in:
parent
9cc67e495a
commit
64543dd9a7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494921
@ -59,9 +59,7 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
|
||||
|
||||
.elif ${ARCH} == powerpc64
|
||||
CONFIGURE_ENV+= UNAME_m="powerpc64"
|
||||
USE_GCC= 5 # This port requires at least GCC 4.9, and we need
|
||||
# to ensure not to cause a dependency on itself (so
|
||||
# USE_GCC=yes or USE_GCC=X+ are not an option).
|
||||
MAKE_ARGS+= CFLAGS_FOR_TARGET="-O1" CXXFLAGS_FOR_TARGET="-O1" BOOT_CFLAGS="-O1" # PR235975
|
||||
|
||||
.elif ${ARCH} == powerpcspe
|
||||
CONFIGURE_ARGS+= --with-cpu=8548 --enable-e500_double --without-fp
|
||||
@ -140,8 +138,8 @@ post-stage:
|
||||
${RM} ${WRKDIR}/PLIST.lib
|
||||
|
||||
.if ${ARCH} == powerpc64 && ${PORT_OPTIONS:MMULTILIB}
|
||||
${MKDIR} ${STAGEDIR}${TARGLIB32}/gcc${SUFFIX}
|
||||
${MV} ${STAGEDIR}${PREFIX}/lib/lib32/* ${STAGEDIR}${TARGLIB32}/gcc${SUFFIX}
|
||||
${MKDIR} ${STAGEDIR}${TARGLIB32}
|
||||
${MV} ${STAGEDIR}${PREFIX}/lib/lib32 ${STAGEDIR}${TARGLIB32}/gcc${SUFFIX}
|
||||
.endif
|
||||
|
||||
.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB32:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///}
|
||||
|
@ -1,6 +1,6 @@
|
||||
GCC, the GNU Compiler Collection, supports a number of languages. This
|
||||
port installs the C, C++, and Fortran front ends as gcc8, g++8, gfortran8,
|
||||
respectively.
|
||||
GCC, the GNU Compiler Collection, supports a number of languages.
|
||||
This port installs the C, C++, and Fortran front ends as gcc8, g++8,
|
||||
and gfortran8, respectively.
|
||||
|
||||
WWW: https://gcc.gnu.org
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user