summaryrefslogtreecommitdiff
path: root/math/flexfloat
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-03-10 22:04:46 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-03-10 22:04:46 +0000
commitf38fff2015ee38a9248ee02f32cb42f887bf6bae (patch)
tree2b2cb5e0a313015dc1da900ed27c9808cc46e25b /math/flexfloat
parentdevel/freebsd-gcc6: fix build on powerpc64le (diff)
math/flexfloat: fix build on powerpc64le
powerpc64le needs -mfloat128, like powerpc64.
Notes
Notes: svn path=/head/; revision=568049
Diffstat (limited to 'math/flexfloat')
-rw-r--r--math/flexfloat/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/math/flexfloat/Makefile b/math/flexfloat/Makefile
index bccb15810dc1..488609869be6 100644
--- a/math/flexfloat/Makefile
+++ b/math/flexfloat/Makefile
@@ -17,6 +17,7 @@ GH_TAGNAME= 6db869087a12d763a94d53e9b0a9d52def270865
USE_LDCONFIG= yes
USE_GCC= yes # clang doesn't support __float128
+CFLAGS_powerpc64le= -mfloat128
CFLAGS_powerpc64= -mfloat128 -mvsx
CFLAGS_powerpc= -mfloat128 -mvsx
CMAKE_OFF= BUILD_TESTS BUILD_EXAMPLES