| Index: ports/scummvm/build.sh
|
| diff --git a/ports/scummvm/build.sh b/ports/scummvm/build.sh
|
| index 1c2853e89baadde59b65f0a2fa0b9d8be85f6bec..b0dc0f1492a7e27b40442cdb0e005f1adcf92eb0 100644
|
| --- a/ports/scummvm/build.sh
|
| +++ b/ports/scummvm/build.sh
|
| @@ -23,7 +23,7 @@ ConfigureStep() {
|
| SetupCrossEnvironment
|
|
|
| local conf_host=${NACL_CROSS_PREFIX}
|
| - if [ "${NACL_ARCH}" = "pnacl" ]; then
|
| + if [ "${NACL_ARCH}" = "pnacl" -o "${NACL_ARCH}" = "le32" ]; then
|
| conf_host="pnacl"
|
| elif [ "${NACL_ARCH}" = "arm" ]; then
|
| conf_host="nacl-arm"
|
| @@ -89,7 +89,7 @@ InstallStep() {
|
|
|
| cp ${START_DIR}/packaged_app/* ${ASSEMBLY_DIR}
|
| cp ${SRC_DIR}/*.tar ${ASSEMBLY_DIR}
|
| - if [ "${NACL_DEBUG}" = "1" ]; then
|
| + if [ "${NACL_DEBUG}" = "1" -o ${NACL_ARCH} = "le32" ]; then
|
| cp ${BUILD_DIR}/scummvm \
|
| ${ASSEMBLY_DIR}/scummvm_${NACL_ARCH}${NACL_EXEEXT}
|
| else
|
| @@ -102,7 +102,7 @@ InstallStep() {
|
| -s ${ASSEMBLY_DIR} \
|
| -o ${ASSEMBLY_DIR}/scummvm.nmf
|
|
|
| - if [ "${NACL_ARCH}" = "pnacl" ]; then
|
| + if [ "${NACL_ARCH}" = "pnacl" -o "${NACL_ARCH}" = "le32" ]; then
|
| sed -i.bak 's/x-nacl/x-pnacl/' ${ASSEMBLY_DIR}/index.html
|
| fi
|
|
|
|
|