jam: Add clang binary optional package
* Created from haikuporter ticket #313 * Tested as functional under gcc4h
This commit is contained in:
@@ -30,6 +30,7 @@ if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) = 1
|
|||||||
# Bzip - file archiving utility
|
# Bzip - file archiving utility
|
||||||
# CCache - fast compiler cache
|
# CCache - fast compiler cache
|
||||||
# CDRecord - the command line CD writing tools
|
# CDRecord - the command line CD writing tools
|
||||||
|
# Clang - the LLVM C and C++ compiler (llvm, libs, headers)
|
||||||
# Clockwerk - native audio/video compositing
|
# Clockwerk - native audio/video compositing
|
||||||
# CLucene - indexed file search
|
# CLucene - indexed file search
|
||||||
# CMake - cross platform make
|
# 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
|
# Clockwerk
|
||||||
if [ IsOptionalHaikuImagePackageAdded Clockwerk ] {
|
if [ IsOptionalHaikuImagePackageAdded Clockwerk ] {
|
||||||
if $(TARGET_ARCH) != x86 {
|
if $(TARGET_ARCH) != x86 {
|
||||||
|
|||||||
Reference in New Issue
Block a user