Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2019 10:20:20 +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: r517367 - head/devel/libslang2
Message-ID:  <201911131020.xADAKKFd059417@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Nov 13 10:20:20 2019
New Revision: 517367
URL: https://svnweb.freebsd.org/changeset/ports/517367

Log:
  devel/libslang2: fix build on powerpc64 with clang
  
  Workaround a crash with LLVM (reported on https://bugs.llvm.org/show_bug.cgi?id=43976) by using GCC.
  
  PR:		241916
  Approved by:	garga (maintainer), linimon (mentor)

Modified:
  head/devel/libslang2/Makefile

Modified: head/devel/libslang2/Makefile
==============================================================================
--- head/devel/libslang2/Makefile	Wed Nov 13 10:14:31 2019	(r517366)
+++ head/devel/libslang2/Makefile	Wed Nov 13 10:20:20 2019	(r517367)
@@ -51,6 +51,10 @@ ONIG_LIB_DEPENDS=	libonig.so:devel/oniguruma
 CONFIGURE_ARGS+=	--without-iconv
 .endif
 
+.if ${ARCH} == powerpc64
+USE_GCC=	any
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -E 's,doc/slsh,doc/slang/v\@slang_major_version\@,' \
 		${WRKSRC}/slsh/Makefile.in



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