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 |