aboutsummaryrefslogtreecommitdiff
path: root/build/tools
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2018-12-18 15:49:54 -0800
committerDan Albert <danalbert@google.com>2018-12-18 16:26:50 -0800
commit7e81426ab3323198663806ccfdb242349d099a15 (patch)
tree35d7f8198024b3dcd82143b14bf8f5b4a8bc1a74 /build/tools
parent638ae5c493d0cb9850a9a68ceaca509fb9743801 (diff)
downloadndk-7e81426ab3323198663806ccfdb242349d099a15.tar.gz
Update build systems/docs for the new Clang.
Remove redundant flags and update the docs to match. Test: ./checkbuild.py && ./run_tests.py Bug: https://github.com/android-ndk/ndk/issues/812 Change-Id: If0366e7b597de92cb1602ec4dada6a9eee2198ac
Diffstat (limited to 'build/tools')
-rwxr-xr-xbuild/tools/make_standalone_toolchain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/tools/make_standalone_toolchain.py b/build/tools/make_standalone_toolchain.py
index 0849cdc88..37cc4448a 100755
--- a/build/tools/make_standalone_toolchain.py
+++ b/build/tools/make_standalone_toolchain.py
@@ -130,7 +130,7 @@ def make_clang_scripts(install_dir, triple, api, windows):
if arch == 'i686' and api < 24:
flags += ' -mstackrealign'
- cxx_flags = flags + ' -stdlib=libc++'
+ cxx_flags = str(flags)
clang_path = os.path.join(install_dir, 'bin/clang')
with open(clang_path, 'w') as clang: