mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/llvm to 3.4.2-1.1, fixes #938
This commit is contained in:
parent
48065f2de8
commit
50dc2ef4f2
1 changed files with 2 additions and 5 deletions
|
@ -10,13 +10,13 @@
|
||||||
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
|
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - unset CPPFLAGS, use -O0 to fix ARM ICE
|
# - remove when bumped upstream
|
||||||
|
|
||||||
pkgname=('llvm' 'llvm-libs' 'llvm-ocaml' 'clang' 'clang-analyzer'
|
pkgname=('llvm' 'llvm-libs' 'llvm-ocaml' 'clang' 'clang-analyzer'
|
||||||
'clang-tools-extra')
|
'clang-tools-extra')
|
||||||
pkgver=3.4.2
|
pkgver=3.4.2
|
||||||
_base_ver=3.4
|
_base_ver=3.4
|
||||||
pkgrel=1
|
pkgrel=1.1
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://llvm.org/"
|
url="http://llvm.org/"
|
||||||
license=('custom:University of Illinois/NCSA Open Source License')
|
license=('custom:University of Illinois/NCSA Open Source License')
|
||||||
|
@ -82,9 +82,6 @@ prepare() {
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/llvm-$pkgver"
|
cd "$srcdir/llvm-$pkgver"
|
||||||
|
|
||||||
unset CPPFLAGS
|
|
||||||
CFLAGS=`echo $CFLAGS | sed -e 's/-O2/-O0/'` && CXXFLAGS="$CFLAGS"
|
|
||||||
|
|
||||||
# Apply strip option to configure
|
# Apply strip option to configure
|
||||||
_optimized_switch="enable"
|
_optimized_switch="enable"
|
||||||
[[ $(check_option strip) == n ]] && _optimized_switch="disable"
|
[[ $(check_option strip) == n ]] && _optimized_switch="disable"
|
||||||
|
|
Loading…
Reference in a new issue