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

Unified Diff: examples/tools/thttpd-2.25b/nacl-thttpd-2.25b.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/tools/thttpd-2.25b/nacl-thttpd-2.25b.sh
diff --git a/examples/tools/thttpd-2.25b/nacl-thttpd-2.25b.sh b/examples/tools/thttpd-2.25b/nacl-thttpd-2.25b.sh
index f48922d344556f49f05f4a80e87d55b5b31a0d07..0b8ab9a0f9092b91d437c2193079cfd01d10954c 100755
--- a/examples/tools/thttpd-2.25b/nacl-thttpd-2.25b.sh
+++ b/examples/tools/thttpd-2.25b/nacl-thttpd-2.25b.sh
@@ -43,7 +43,7 @@ CustomBuildStep() {
export CC=${NACLCC}
export NACLXX=${NACLCXX}
export CXX=${NACLCXX}
- if [ ${NACL_PACKAGES_BITSIZE} == "pnacl" ] ; then
+ if [ ${NACL_ARCH} = "pnacl" ] ; then
export NACL_CCFLAGS="-O3 -g"
export NACL_LDFLAGS="-O0 -static"
fi
@@ -72,7 +72,7 @@ CustomInstallStep() {
ChangeDir ${PUBLISH_DIR}
local NACL_LIB_PATH=$NACL_TOOLCHAIN_ROOT/x86_64-nacl
local NACL_COMPLEMENT_BITSIZE=64
- if [ ${NACL_PACKAGES_BITSIZE} == "64" ]; then
+ if [ ${NACL_PACKAGES_BITSIZE} = "64" ]; then
bradn 2012/12/21 19:24:40 Did you mean to change this one to arch ?
Sam Clegg 2012/12/28 15:31:43 Done.
NACL_COMPLEMENT_BITSIZE=32
fi
if [ -f thttpd_x86-${NACL_COMPLEMENT_BITSIZE}.nexe ]; then

Powered by Google App Engine
This is Rietveld 408576698