1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

. Fix build on gcc based architectures (e.g. powerpc64)

PR:		233883
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
This commit is contained in:
Greg Lewis 2018-12-11 03:23:57 +00:00
parent 940752fd53
commit 9713df4168
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487219

View File

@ -362,6 +362,7 @@ CONFIGURE_ENV+= LIBCXX="-lc++"
# GCC is broken with PCH: https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html
.if ${COMPILER_TYPE} == gcc
CONFIGURE_ARGS+= --with-toolchain-type=gcc
.if ${ARCH} == "powerpc64"
MAKE_ARGS+= USE_PRECOMPILED_HEADER=1
.else