android build: ignore renderscript toolchain

When detecting toolchains ignore renderscript because its not a
compiler toolchain.
This commit is contained in:
Bernhard Miklautz 2013-11-18 12:53:17 +01:00
parent 391615bcfb
commit 1262d236a3

View File

@ -639,6 +639,7 @@ if( BUILD_WITH_STANDALONE_TOOLCHAIN )
endif()
macro( __GLOB_NDK_TOOLCHAINS __availableToolchainsVar __availableToolchainsLst __toolchain_subpath )
list( REMOVE_ITEM ${__availableToolchainsLst} "renderscript" )
foreach( __toolchain ${${__availableToolchainsLst}} )
if( "${__toolchain}" MATCHES "-clang3[.][0-9]$" AND NOT EXISTS "${ANDROID_NDK_TOOLCHAINS_PATH}/${__toolchain}${__toolchain_subpath}" )
string( REGEX REPLACE "-clang3[.][0-9]$" "-4.6" __gcc_toolchain "${__toolchain}" )