Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2019 14:06:33 +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: r519612 - head/devel/creduce
Message-ID:  <201912091406.xB9E6XRH036803@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon Dec  9 14:06:32 2019
New Revision: 519612
URL: https://svnweb.freebsd.org/changeset/ports/519612

Log:
  devel/creduce: unbreak on powerpc64
  
  powerpc64 soon switches to elfv2 on head, where this port builds, but it's necessary to add -mabi=elfv2 to CFLAGS, because LLVM 8 defaults to elfv1.
  
  PR:		242465
  Approved by:	swills

Modified:
  head/devel/creduce/Makefile

Modified: head/devel/creduce/Makefile
==============================================================================
--- head/devel/creduce/Makefile	Mon Dec  9 14:00:56 2019	(r519611)
+++ head/devel/creduce/Makefile	Mon Dec  9 14:06:32 2019	(r519612)
@@ -20,7 +20,8 @@ RUN_DEPENDS=	llvm-config${LLVM_VER}:devel/llvm${LLVM_V
 		p5-Sys-CPU>=0:devel/p5-Sys-CPU \
 		p5-Getopt-Tabular>=0:devel/p5-Getopt-Tabular
 
-BROKEN_powerpc64=	fails to configure: cannot compile and link test program with selected LLVM
+BROKEN_FreeBSD_11_powerpc64=	fails to configure: cannot compile and link test program with selected LLVM
+BROKEN_FreeBSD_12_powerpc64=	fails to configure: cannot compile and link test program with selected LLVM
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_VER} \
@@ -29,5 +30,7 @@ CONFIGURE_ENV=	LLVM_CONFIG=${LOCALBASE}/bin/llvm-confi
 		CPP=${LOCALBASE}/bin/clang-cpp${LLVM_VER}
 
 USES=		autoreconf gmake libtool perl5
+
+CFLAGS_powerpc64=	-mabi=elfv2
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912091406.xB9E6XRH036803>