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 |