summaryrefslogtreecommitdiff
path: root/extra/llvm
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-30 00:01:38 +0000
committerroot <root@rshg054.dnsready.net>2012-04-30 00:01:38 +0000
commitb7cd4b184f75d3d2b54b356e08f296df3a9afb38 (patch)
treedc5e84c1f7271cf0c8ec0221b5a22e48a884081a /extra/llvm
parent4412991f6b4fd655fc1f51f8d79a0be0c10158b7 (diff)
Mon Apr 30 00:01:38 UTC 2012
Diffstat (limited to 'extra/llvm')
-rw-r--r--extra/llvm/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/extra/llvm/PKGBUILD b/extra/llvm/PKGBUILD
index 634e997de..099dac6f4 100644
--- a/extra/llvm/PKGBUILD
+++ b/extra/llvm/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 156168 2012-04-15 04:29:31Z heftig $
+# $Id: PKGBUILD 157403 2012-04-28 09:26:49Z allan $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Sebastian Nowicki <sebnow@gmail.com>
@@ -11,7 +11,7 @@
pkgname=('llvm' 'llvm-ocaml' 'clang' 'clang-analyzer')
pkgver=3.0
-pkgrel=3
+pkgrel=4
arch=('i686' 'x86_64')
url="http://llvm.org/"
license=('custom:University of Illinois/NCSA Open Source License')
@@ -34,6 +34,11 @@ sha256sums=('519eb11d3499ce99c6ffdb8718651fc91425ed7690eac91c8d6853474f7c0477'
build() {
cd "$srcdir/$pkgname-$pkgver.src"
+ # Build without -ftree-pre as a workaround for clang segfaulting on x86_64
+ # https://bugzilla.redhat.com/show_bug.cgi?id=791365
+ CFLAGS+=' -fno-tree-pre'
+ CXXFLAGS+=' -fno-tree-pre'
+
# At the present, clang must reside inside the LLVM source code tree to build
# See http://llvm.org/bugs/show_bug.cgi?id=4840
rm -rf tools/clang