summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFangrui Song2018-08-23 15:23:35 -0700
committerFangrui Song2018-08-23 15:26:08 -0700
commit934e53b4066baa3494f7beae0fecd7a02b860839 (patch)
tree93b9851c278abd5c6d9f01aa2a81782137c7036b /PKGBUILD
parent0870862b94d8cc9cb5ae2e64d878000eb9512712 (diff)
downloadaur-934e53b4066baa3494f7beae0fecd7a02b860839.tar.gz
Add -DLLVM_ENABLE_RTTI=on
The SIGSEGV issue has been identified. It was because extra/clang were compiled with -DLLVM_ENABLE_RTTI=ON while aur/ccls-git used -fno-rtti. The mismatch leaded /usr/include/c++/8/bits/shared_ptr_base.h _M_get_deleter to return nullptr.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cd6e57f3db0..fa1c790d599 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ccls-git
_pkgname=ccls
-pkgver=1589.89af70fe
+pkgver=1668.558516d
pkgrel=1
pkgdesc='C/C++ language server supporting cross references, hierarchies, completion and semantic highlighting'
arch=('any')
@@ -26,7 +26,7 @@ prepare() {
build() {
cd $_pkgname
- cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DSYSTEM_CLANG=on -DUSE_SHARED_LLVM=on
+ cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DSYSTEM_CLANG=on -DUSE_SHARED_LLVM=on -DLLVM_ENABLE_RTTI=on
cmake --build build
}