summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-05-25 11:27:42 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-05-25 11:27:42 +0000
commit60c8a7d5eafbd5224f73005f0df63f4cce43b430 (patch)
tree37966a1199f432193860ae28b26881168c432b24
parentdevel/delve: Update to 1.4.1 (diff)
devel/libffcall: fix build on powerpc64 elfv2
clang fails at: avcall-powerpc64-elfv2.s:2:11: error: unrecognized machine type .machine power4 Use GCC.
Notes
Notes: svn path=/head/; revision=536459
-rw-r--r--devel/libffcall/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/libffcall/Makefile b/devel/libffcall/Makefile
index c49b5f0bee5d..641fc282fc0f 100644
--- a/devel/libffcall/Makefile
+++ b/devel/libffcall/Makefile
@@ -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 \