llvm: add patch to workaround GCC internal compiler error in cross builds.
This commit is contained in:
parent
be01bb25ec
commit
e56cc9579a
2 changed files with 25 additions and 3 deletions
|
@ -20,7 +20,7 @@ checksum="
|
|||
f37c89b1383ce462d47537a0245ac798600887a9be9f63073e16b79ed536ab5c"
|
||||
|
||||
# XXX Investigate ocaml bindings.
|
||||
hostmakedepends="groff perl python zlib-devel"
|
||||
hostmakedepends="groff perl python zlib-devel libffi-devel"
|
||||
makedepends="zlib-devel libffi-devel"
|
||||
|
||||
post_extract() {
|
||||
|
@ -35,7 +35,7 @@ post_extract() {
|
|||
}
|
||||
|
||||
do_configure() {
|
||||
unset CC CXX CPP AR AS RANLIB CFLAGS LDFLAGS CPPFLAGS
|
||||
unset CC CXX CPP AR AS RANLIB CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
|
||||
|
||||
# Fix installation directories, ./configure doesn't seem to set them right
|
||||
sed -i -e 's:\$(PROJ_prefix)/etc/llvm:/etc/llvm:' \
|
||||
|
@ -48,7 +48,7 @@ do_configure() {
|
|||
}
|
||||
|
||||
do_build() {
|
||||
unset CC CXX CPP AR AS RANLIB CFLAGS LDFLAGS CPPFLAGS
|
||||
unset CC CXX CPP AR AS RANLIB CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
|
||||
|
||||
cd build
|
||||
make ${makejobs}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue