Rewrite ARCHITECTURES syntax to new HaikuPorter changes.

HaikuPorter now does not care what is in ARCHITECTURES when
building for a SECONDARY_ARCHITECTURE.
This commit is contained in:
Augustin Cavalier
2015-08-04 11:59:44 -04:00
parent 23faff5dbc
commit 55dd9cf19d
304 changed files with 377 additions and 1991 deletions

View File

@@ -1,15 +1,12 @@
SUMMARY="Modular and reuseable compiler and toolchain technologies"
SUMMARY="Modular and reuseable compiler and toolchain technologies"
DESCRIPTION="LLVM is a collection of modular and reuseable compiler and \
toolchain technologies."
HOMEPAGE="http://www.llvm.org/"
LICENSE="UIUC"
REVISION="1"
ARCHITECTURES="!x86 !x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="!x86"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86"
SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz"
CHECKSUM_SHA256="68766b1e70d05a25e2f502e997a3cb3937187a3296595cf6e0977d5cd6727578"
@@ -48,7 +45,7 @@ BUILD()
# Haiku C++ requires rtti in a lot of central system components
# such as Mesa
export REQUIRES_RTTI=1
runConfigure ./configure --enable-optimized
runConfigure ./configure --enable-optimized
make $jobArgs
}