summaryrefslogtreecommitdiff
path: root/extra/llvm
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-04-30 10:55:42 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-04-30 10:55:42 +0200
commitd9a9508e07a00015e2a2f278719a9665ff565961 (patch)
tree97ddb1c2607a58c2a632da571b281641dfdf9df2 /extra/llvm
parent0a2ba65e7cf7d8d0452654b2f25cbb84a89fe7cf (diff)
parentb7cd4b184f75d3d2b54b356e08f296df3a9afb38 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/buoh/PKGBUILD core/openssl/PKGBUILD extra/llvm/PKGBUILD extra/pulseaudio/PKGBUILD extra/pygobject/PKGBUILD extra/pygobject2/PKGBUILD multilib/lib32-util-linux/PKGBUILD testing/consolekit/PKGBUILD testing/gnome-keyring/PKGBUILD testing/lirc/PKGBUILD testing/samba/PKGBUILD testing/systemd/PKGBUILD
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 262416a74..9e73b73fa 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' 'mips64el')
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