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

Unified Diff: build-nacl.sh

Issue 14694016: [NaCl] Add support for building using glibc toolchain. (Closed) Base URL: git@github.com:sbc100/cocos2d-x.git@nacl_changes2
Patch Set: Created 7 years, 8 months 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
« no previous file with comments | « no previous file | cocos2dx/proj.nacl/cocos2dx.mk » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build-nacl.sh
diff --git a/build-nacl.sh b/build-nacl.sh
index e8f95e8ef2c4e7bb027799c8612a873c25b08e3d..eb125efe417a2e9e3e1e8b60cb7bbfcd2bad7b5d 100755
--- a/build-nacl.sh
+++ b/build-nacl.sh
@@ -39,11 +39,13 @@ if [ "$1" = "clean" ]; then
exit 0
fi
-make NACL_ARCH=x86_64 DEBUG=1 all
-make NACL_ARCH=x86_64 DEBUG=0 all
+make NACL_ARCH=x86_64 DEBUG=1 $*
+make NACL_ARCH=x86_64 DEBUG=0 $*
-make NACL_ARCH=i686 DEBUG=1 all
-make NACL_ARCH=i686 DEBUG=0 all
+make NACL_ARCH=i686 DEBUG=1 $*
+make NACL_ARCH=i686 DEBUG=0 $*
-make NACL_ARCH=arm DEBUG=1 all
-make NACL_ARCH=arm DEBUG=0 all
+if [ "${NACL_GLIBC:-}" != "1" ]; then
+ make NACL_ARCH=arm DEBUG=1 $*
+ make NACL_ARCH=arm DEBUG=0 $*
+fi
« no previous file with comments | « no previous file | cocos2dx/proj.nacl/cocos2dx.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698