| Index: examples/systems/dosbox-0.74/nacl-dosbox-0.74.sh
|
| diff --git a/examples/systems/dosbox-0.74/nacl-dosbox-0.74.sh b/examples/systems/dosbox-0.74/nacl-dosbox-0.74.sh
|
| index 071b7891d46ed7a3f66bde3e9fc4b753e3fc6c96..2c2ffab17b5d73846bda81940b3750a18a41c666 100755
|
| --- a/examples/systems/dosbox-0.74/nacl-dosbox-0.74.sh
|
| +++ b/examples/systems/dosbox-0.74/nacl-dosbox-0.74.sh
|
| @@ -29,7 +29,7 @@ CustomConfigureStep() {
|
| # NOTE: non-standard flag NACL_LDFLAGS because of some more hacking below
|
| export CXXFLAGS="-O2 -g"
|
| export NACL_LDFLAGS=""
|
| - if [ ${NACL_PACKAGES_BITSIZE} == "pnacl" ] ; then
|
| + if [ ${NACL_ARCH} = "pnacl" ] ; then
|
| export CXXFLAGS="-O3 -g"
|
| export NACL_LDFLAGS="-O0 -static"
|
| fi
|
| @@ -100,7 +100,7 @@ CustomInstallStep(){
|
| install ${START_DIR}/dosbox.html ${PUBLISH_DIR}
|
| install ${START_DIR}/dosbox.nmf ${PUBLISH_DIR}
|
| install ${DOSBOX_BUILD}/src/dosbox \
|
| - ${PUBLISH_DIR}/dosbox_x86-${NACL_PACKAGES_BITSIZE}.nexe
|
| + ${PUBLISH_DIR}/dosbox_${NACL_ARCH}.nexe
|
| DefaultTouchStep
|
| }
|
|
|
| @@ -111,7 +111,7 @@ CustomPackageInstall() {
|
| DefaultPatchStep
|
| CustomConfigureStep
|
| DefaultBuildStep
|
| - if [ ${NACL_PACKAGES_BITSIZE} == "pnacl" ] ; then
|
| + if [ ${NACL_ARCH} = "pnacl" ] ; then
|
| DefaultTranslateStep ${PACKAGE_NAME} ${PACKAGE_NAME}-build/src/dosbox
|
| fi
|
| CustomInstallStep
|
|
|