Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2019 05:39:48 +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: r491604 - head/devel/ccls
Message-ID:  <201901300539.x0U5dmHR086403@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Wed Jan 30 05:39:47 2019
New Revision: 491604
URL: https://svnweb.freebsd.org/changeset/ports/491604

Log:
  devel/ccls: Build with LLVM_ENABLE_RTTI
  
  Same as the devel/llvm* ports.  Otherwise ccls is compiled with
  -fno-rtti but LLVM is not which can lead to crashes [1].  Make sure
  assertions are disabled too while here.
  
  [1] https://github.com/MaskRay/ccls/issues/30

Modified:
  head/devel/ccls/Makefile

Modified: head/devel/ccls/Makefile
==============================================================================
--- head/devel/ccls/Makefile	Wed Jan 30 05:28:56 2019	(r491603)
+++ head/devel/ccls/Makefile	Wed Jan 30 05:39:47 2019	(r491604)
@@ -2,6 +2,7 @@
 
 PORTNAME=	ccls
 DISTVERSION=	0.20181225.8
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	tobik@FreeBSD.org
@@ -21,7 +22,8 @@ GH_ACCOUNT=	MaskRay
 #GH_TAGNAME=	d275ed570d7ea26dd8d762b8d82bc4e295971154
 
 CMAKE_ARGS=	-DCLANG_ROOT:String="${LOCALBASE}/llvm${LLVM_DEFAULT}"
-CMAKE_ON=	SYSTEM_CLANG USE_SHARED_LLVM
+CMAKE_ON=	LLVM_ENABLE_RTTI SYSTEM_CLANG USE_SHARED_LLVM
+CXXFLAGS+=	-DNDEBUG
 
 PLIST_FILES=	bin/ccls
 



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