Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: examples/systems/dosbox-0.74/nacl-dosbox-0.74.sh

Issue 11636027: Add ARM toolchain support. (Closed) Base URL: git@github.com:samclegg/naclports.git@sbc
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698