Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2020 04:01:22 +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: r539693 - head/math/flexfloat
Message-ID:  <202006200401.05K41Mmg017791@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



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