Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2019 12:29:22 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491273 - head/lang/ponyc
Message-ID:  <201901261229.x0QCTMCr010816@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Jan 26 12:29:22 2019
New Revision: 491273
URL: https://svnweb.freebsd.org/changeset/ports/491273

Log:
  Use clang50, clang++50 to build lang/ponyc
  
  Building the bitcode with clang70 and linking with llvm50 fails,
  so let's use the clang from the LLVM version that will be used by
  ponyc.
  
  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p490918_s343288/logs/errors/ponyc-0.25.0_1.log
  
  PR:		234290
  Submitted by:	greg@unrelenting.technology (maintainer)

Modified:
  head/lang/ponyc/Makefile

Modified: head/lang/ponyc/Makefile
==============================================================================
--- head/lang/ponyc/Makefile	Sat Jan 26 12:20:05 2019	(r491272)
+++ head/lang/ponyc/Makefile	Sat Jan 26 12:29:22 2019	(r491273)
@@ -63,6 +63,10 @@ MAKE_ENV+=	default_ssl=openssl_1.1.0
 .endif
 
 .if ${CHOSEN_COMPILER_TYPE} == clang
+# Building the bitcode with clang70 and linking with llvm50 fails,
+# so let's use the clang from the LLVM version that will be used by ponyc
+CC=		${LOCALBASE}/bin/clang${LLVM_VERSION}
+CXX=		${LOCALBASE}/bin/clang++${LLVM_VERSION}
 MAKE_ENV+=	runtime-bitcode=yes
 PLIST_SUB+=	BITCODE=""
 .else



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