Index: native_client_sdk/src/build_tools/build_projects.py |
diff --git a/native_client_sdk/src/build_tools/build_projects.py b/native_client_sdk/src/build_tools/build_projects.py |
index b25d7b75e9420746318765313f6c08e3e5cdee82..bd49ccc9527e40f6d93593a86f25ba2abb1b2737 100755 |
--- a/native_client_sdk/src/build_tools/build_projects.py |
+++ b/native_client_sdk/src/build_tools/build_projects.py |
@@ -32,6 +32,7 @@ LIB_DICT = { |
VALID_TOOLCHAINS = [ |
'bionic', |
'newlib', |
+ 'clang-newlib', |
'glibc', |
'pnacl', |
'win', |
@@ -99,6 +100,7 @@ def ValidateToolchains(toolchains): |
buildbot_common.ErrorExit('Invalid toolchain(s): %s' % ( |
', '.join(invalid_toolchains))) |
+ |
def GetDeps(projects): |
out = {} |
@@ -298,7 +300,7 @@ def main(args): |
# be the first toolchain in this list that is available in the example. |
# e.g. If an example supports newlib and glibc, then the default will be |
# newlib. |
- options.toolchain = ['pnacl', 'newlib', 'glibc', 'host'] |
+ options.toolchain = ['pnacl', 'newlib', 'glibc', 'host', 'clang-newlib'] |
if options.experimental or options.bionic: |
options.toolchain.append('bionic') |