Merge commit 'ce1141982b4f7acf581d62a379f8fb49ac63f6b8' into mason07
This commit is contained in:
@@ -8,6 +8,10 @@ matrix:
|
||||
- os: osx
|
||||
env: MASON_PLATFORM=ios
|
||||
compiler: clang
|
||||
- os: linux
|
||||
env: MASON_PLATFORM_VERSION=cortex_a9
|
||||
- os: linux
|
||||
env: MASON_PLATFORM_VERSION=i686
|
||||
- os: linux
|
||||
compiler: clang
|
||||
sudo: false
|
||||
|
||||
+2
-2
@@ -23,7 +23,7 @@ function mason_load_source {
|
||||
}
|
||||
|
||||
function mason_prepare_compile {
|
||||
if [[ ${MASON_PLATFORM} == 'ios' || ${MASON_PLATFORM} == 'android' ]]; then
|
||||
if [[ ${MASON_PLATFORM} == 'ios' || ${MASON_PLATFORM} == 'android' || ${MASON_PLATFORM_VERSION} != `uname -m` ]]; then
|
||||
mason_substep "Cross-compiling ICU. Starting with host build of ICU to generate tools."
|
||||
|
||||
pushd ${MASON_ROOT}/..
|
||||
@@ -40,7 +40,7 @@ function mason_prepare_compile {
|
||||
}
|
||||
|
||||
function mason_compile {
|
||||
if [[ ${MASON_PLATFORM} == 'ios' || ${MASON_PLATFORM} == 'android' ]]; then
|
||||
if [[ ${MASON_PLATFORM} == 'ios' || ${MASON_PLATFORM} == 'android' || ${MASON_PLATFORM_VERSION} != `uname -m` ]]; then
|
||||
MASON_CROSS_BUILD=1
|
||||
fi
|
||||
mason_compile_base
|
||||
|
||||
Reference in New Issue
Block a user