. 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

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