Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2020 11:27:43 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r536459 - head/devel/libffcall
Message-ID:  <202005251127.04PBRhgj091385@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon May 25 11:27:42 2020
New Revision: 536459
URL: https://svnweb.freebsd.org/changeset/ports/536459

Log:
  devel/libffcall: fix build on powerpc64 elfv2
  
  clang fails at:
  avcall-powerpc64-elfv2.s:2:11: error: unrecognized machine type
   .machine power4
  
  Use GCC.

Modified:
  head/devel/libffcall/Makefile

Modified: head/devel/libffcall/Makefile
==============================================================================
--- head/devel/libffcall/Makefile	Mon May 25 11:26:51 2020	(r536458)
+++ head/devel/libffcall/Makefile	Mon May 25 11:27:42 2020	(r536459)
@@ -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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005251127.04PBRhgj091385>