devel/libffcall: fix build on powerpc64 elfv2

clang fails at:
avcall-powerpc64-elfv2.s:2:11: error: unrecognized machine type
 .machine power4

Use GCC.
This commit is contained in:
Piotr Kubaj 2020-05-25 11:27:42 +00:00
parent 3e5955c7bb
commit 60c8a7d5ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=536459

View File

@ -28,6 +28,8 @@ CFLAGS+= -fPIC
PATCHES_powerpc64= ${PATCHDIR}/extra-patch-ffcall-abi.h
EXTRA_PATCHES= ${PATCHES_${ARCH}}
USES_powerpc64= compiler:gcc-c++11-lib
USES+= ${USES_${ARCH}}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavcall.so \