svn commit: r531925 - head/graphics/mesa-libs
Piotr Kubaj
pkubaj at FreeBSD.org
Fri Apr 17 11:02:46 UTC 2020
Author: pkubaj
Date: Fri Apr 17 11:02:45 2020
New Revision: 531925
URL: https://svnweb.freebsd.org/changeset/ports/531925
Log:
graphics/mesa-libs: fix build on powerpc head
Clang currently lacks atomic functions on powerpc, making build fail:
u_atomic.c:64:1: error: definition of builtin function '__sync_val_compare_and_swap_8'
Use GCC for now.
Modified:
head/graphics/mesa-libs/Makefile
Modified: head/graphics/mesa-libs/Makefile
==============================================================================
--- head/graphics/mesa-libs/Makefile Fri Apr 17 10:56:43 2020 (r531924)
+++ head/graphics/mesa-libs/Makefile Fri Apr 17 11:02:45 2020 (r531925)
@@ -44,6 +44,8 @@ MESA_INSTALL_WRKSRC+= src/egl
.if ${ARCH} == "i386"
# PR230239 Fix the build for i386 when WITH_LLD_IS_LD is set
LDFLAGS+=-Wl,-z,notext
+.elif ${ARCH} == "powerpc"
+USE_GCC= yes
.endif
.include "${MASTERDIR}/Makefile.targets"
More information about the svn-ports-all
mailing list