1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

math/openlibm: use GCC on powerpc64

Clang fails to build this port:
src/s_cpow.c:77:16: error: a parameter list without types is only allowed in a function definition
__strong_alias(cpowl, cpow);
This commit is contained in:
Piotr Kubaj 2020-06-11 16:34:10 +00:00
parent e2dfc02582
commit 7f5b042c1e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=538505

View File

@ -19,13 +19,21 @@ BROKEN_armv7= fails to compile: a parameter list without types is only allowed
BROKEN_mips= fails to compile: No rule to make target mips/Make.files
BROKEN_mips64= fails to compile: No rule to make target mips64/Make.files
USES= compiler:c11 gmake
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= JuliaMath
GH_PROJECT= openlibm
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc64
USES+= compiler:gcc-c++11-lib
.else
USES+= compiler
.endif
.include <bsd.port.pre.mk>
MAKE_ENV+= prefix=${PREFIX} ${MAKE_ENV_${CHOSEN_COMPILER_TYPE}}