jam: Add clang binary optional package

* Created from haikuporter ticket 
* Tested as functional under gcc4h
This commit is contained in:
Alexander von Gluck IV 2012-03-09 15:06:08 -06:00
parent 87d5beae86
commit 8fb9e2dbb8

@ -30,6 +30,7 @@ if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) = 1
# Bzip - file archiving utility
# CCache - fast compiler cache
# CDRecord - the command line CD writing tools
# Clang - the LLVM C and C++ compiler (llvm, libs, headers)
# Clockwerk - native audio/video compositing
# CLucene - indexed file search
# CMake - cross platform make
@ -394,6 +395,20 @@ if [ IsOptionalHaikuImagePackageAdded CDRecord ] {
}
# Clang
if [ IsOptionalHaikuImagePackageAdded Clang ] {
if $(TARGET_ARCH) != x86 {
Echo "No optional package Clang available for $(TARGET_ARCH)" ;
} else if $(HAIKU_GCC_VERSION[1]) < 4 && ! $(isHybridBuild) {
Echo "No optional package Clang available for GCC2" ;
} else {
InstallOptionalHaikuImagePackage
clang-3.0-x86-gcc4-2012-03-09.zip
: $(baseURL)/clang-3.0-x86-gcc4-2012-03-09.zip ;
}
}
# Clockwerk
if [ IsOptionalHaikuImagePackageAdded Clockwerk ] {
if $(TARGET_ARCH) != x86 {