Index: Makefile =================================================================== --- Makefile (revision 552226) +++ Makefile (working copy) @@ -6,6 +6,9 @@ COMMENT= Mesa OpenCL implementation for AMD GPUs +ONLY_FOR_ARCHS= amd64 i386 +ONLY_FOR_ARCHS_REASON= Clover needs a GPU supported by the Radeon KMS driver + BUILD_DEPENDS= libclc>=0.3.0:devel/libclc \ opencl>=0:devel/opencl LIB_DEPENDS= libOpenCL.so:devel/ocl-icd \ @@ -13,9 +16,6 @@ RUN_DEPENDS= libclc>=0.3.0:devel/libclc \ opencl>=0:devel/opencl -ONLY_FOR_ARCHS= i386 amd64 -ONLY_FOR_ARCHS_REASON= Clover needs a GPU supported by the Radeon KMS driver - .include .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" @@ -39,7 +39,8 @@ -Dgallium-opencl=icd \ -Dgallium-drivers=r600,radeonsi -LDFLAGS_i386= -Wl,-znotext +LDFLAGS+= -fuse-ld=lld +LDFLAGS_i386= -Wl,-znotext .include "${MASTERDIR}/Makefile.targets"