diff options
author | Dan Albert <danalbert@google.com> | 2017-09-14 11:27:03 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2017-09-14 11:46:38 -0700 |
commit | df6c9941ead23aa455b562b538516644ce6a0f1c (patch) | |
tree | f2599a0ca41726312d7b6d05a006cef260e2b5fa /sources | |
parent | 09f8656ef9e3d16f0831c29b4d822c85c544b061 (diff) | |
download | ndk-df6c9941ead23aa455b562b538516644ce6a0f1c.tar.gz |
Don't use TMPDIR when building stlport.
Test: TMPDIR=foo ./checkbuild.py --module stlport
Bug: None
Change-Id: If750217d31ae4660b771b025574479439c2b9bbb
Diffstat (limited to 'sources')
-rwxr-xr-x | sources/cxx-stl/stlport/build.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/cxx-stl/stlport/build.py b/sources/cxx-stl/stlport/build.py index 9cc166b8b..44b7c4541 100755 --- a/sources/cxx-stl/stlport/build.py +++ b/sources/cxx-stl/stlport/build.py @@ -45,6 +45,7 @@ def main(args): print('Building stlport for ABIs: {}'.format(' '.join(abis))) + build_dir = os.path.join(args.out_dir, 'stlport') abis_arg = '--abis={}'.format(','.join(abis)) ndk_dir_arg = '--ndk-dir={}'.format(build_support.ndk_path()) script = build_support.ndk_path('build/tools/build-cxx-stl.sh') @@ -52,6 +53,7 @@ def main(args): 'bash', script, '--stl=stlport', abis_arg, ndk_dir_arg, build_support.jobs_arg(), build_support.toolchain_path(), '--with-debug-info', '--llvm-version=3.6', + '--build-dir={}'.format(build_dir), ] build_support.build(build_cmd, args) |