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

Unified Diff: examples/games/snes9x-1.53/nacl-snes9x-1.53.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/games/snes9x-1.53/nacl-snes9x-1.53.sh
diff --git a/examples/games/snes9x-1.53/nacl-snes9x-1.53.sh b/examples/games/snes9x-1.53/nacl-snes9x-1.53.sh
index 6beed478a0ba5ddc60388fb7528ee3bb27b8082f..eddc90a15802c18cd36c59c826777513b3eab06e 100755
--- a/examples/games/snes9x-1.53/nacl-snes9x-1.53.sh
+++ b/examples/games/snes9x-1.53/nacl-snes9x-1.53.sh
@@ -28,7 +28,7 @@ CustomConfigureStep() {
export CXX=${NACLCXX}
export CXXFLAGS=""
export LDFLAGS=""
- if [ ${NACL_PACKAGES_BITSIZE} == "pnacl" ] ; then
+ if [ ${NACL_ARCH} = "pnacl" ] ; then
export CXXFLAGS="-O3 -g"
export LDFLAGS="-O0 -static"
fi
@@ -72,7 +72,7 @@ CustomInstallStep(){
install ${START_DIR}/style.css ${PUBLISH_DIR}
install ${START_DIR}/snes.nmf ${PUBLISH_DIR}
install ${BUILD_DIR}/snes9x \
- ${PUBLISH_DIR}/snes_x86_${NACL_PACKAGES_BITSIZE}.nexe
+ ${PUBLISH_DIR}/snes_x86_${NACL_ARCH}.nexe
DefaultTouchStep
}
@@ -83,7 +83,7 @@ CustomPackageInstall() {
DefaultPatchStep
CustomConfigureStep
DefaultBuildStep
- if [ ${NACL_PACKAGES_BITSIZE} == "pnacl" ] ; then
+ if [ ${NACL_ARCH} = "pnacl" ] ; then
# NOTE: snes9x has unusual dirnames
DefaultTranslateStep ${PACKAGE_NAME}-src unix/snes9x
fi

Powered by Google App Engine
This is Rietveld 408576698