svn commit: r539693 - head/math/flexfloat

Piotr Kubaj pkubaj at FreeBSD.org
Sat Jun 20 04:01:23 UTC 2020


Author: pkubaj
Date: Sat Jun 20 04:01:22 2020
New Revision: 539693
URL: https://svnweb.freebsd.org/changeset/ports/539693

Log:
  math/flexfloat: fix build on powerpc, powerpc64
  
  This port won't build with base GCC, use GCC from ports.
  
  Also add -mfloat128, which requires -mvsx. This will mean the binary will need to be used on POWER7 or newer, because -mfloat128 uses VSX.

Modified:
  head/math/flexfloat/Makefile

Modified: head/math/flexfloat/Makefile
==============================================================================
--- head/math/flexfloat/Makefile	Sat Jun 20 02:09:12 2020	(r539692)
+++ head/math/flexfloat/Makefile	Sat Jun 20 04:01:22 2020	(r539693)
@@ -15,8 +15,10 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	oprecomp
 GH_TAGNAME=	6db869087a12d763a94d53e9b0a9d52def270865
 USE_LDCONFIG=	yes
-USE_GCC=	any # clang doesn't support __float128
+USE_GCC=	yes # clang doesn't support __float128
 
+CFLAGS_powerpc64=	-mfloat128 -mvsx
+CFLAGS_powerpc=	-mfloat128 -mvsx
 CMAKE_OFF=	BUILD_TESTS BUILD_EXAMPLES
 
 PLIST_FILES=	include/flexfloat/flexfloat.h \


More information about the svn-ports-all mailing list