Date: Fri, 17 Apr 2020 11:02:46 +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: r531925 - head/graphics/mesa-libs Message-ID: <202004171102.03HB2kAr053923@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004171102.03HB2kAr053923>