Date: Sun, 5 Jul 2020 20:01:19 +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: r541305 - head/devel/oclgrind Message-ID: <202007052001.065K1J6w022445@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Sun Jul 5 20:01:19 2020 New Revision: 541305 URL: https://svnweb.freebsd.org/changeset/ports/541305 Log: devel/oclgrind: fix build on powerpc64 elfv2 LLVM 8 works by default in elfv1 mode, which doesn't really work on FreeBSD with our gcc 4.2, but supports switching to elfv2. Since it build properly on elfv2, hardcode it until the port switches to newer LLVM. Modified: head/devel/oclgrind/Makefile Modified: head/devel/oclgrind/Makefile ============================================================================== --- head/devel/oclgrind/Makefile Sun Jul 5 19:45:35 2020 (r541304) +++ head/devel/oclgrind/Makefile Sun Jul 5 20:01:19 2020 (r541305) @@ -29,6 +29,8 @@ CC= clang${LLVM_DEFAULT} CXX= clang++${LLVM_DEFAULT} CPP= clang-cpp${LLVM_DEFAULT} +# to be removed after switching to LLVM 9 or later +CXXFLAGS_powerpc64= -mabi=elfv2 CMAKE_ARGS+= -DLLVM_DIR=${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/llvm .include <bsd.port.options.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007052001.065K1J6w022445>