commit | 4522989c9c4916582b482b878949c5d76a29daec | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue May 29 13:22:11 2012 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue May 29 13:22:11 2012 -0700 |
tree | c429b91229e6c279f8fe0cb86f23412446866580 | |
parent | af8d15a3267343dec135cc6df1db740c0a5c7b52 [diff] |
See if multithreaded dex2oat is causing the Mac OS 10.6 build problems. (Everything's working fine for me on 10.7.) Change-Id: I1e3cf3dd818ca00f986fb0e31f4f4a3a69df5daa
diff --git a/src/dex2oat.cc b/src/dex2oat.cc index 660115c..fbe55a3 100644 --- a/src/dex2oat.cc +++ b/src/dex2oat.cc
@@ -554,6 +554,10 @@ } } +#if defined(__APPLE__) + thread_count = 1; +#endif + if (oat_filename.empty() && oat_fd == -1) { Usage("Output must be supplied with either --oat-file or --oat-fd"); }