Skip to content

Commit

Permalink
Fix <prefix>clang++.cmd script.
Browse files Browse the repository at this point in the history
The clang++ script was clobbering the clang one.

Test: ./checkbuild.py --system windows64 toolchain  # check scripts
Bug: android/ndk#920
Change-Id: I605cb47fa7ec3156d3a84eda1ea3918a47400f05
  • Loading branch information
DanAlbert committed Feb 27, 2019
1 parent 0707518 commit 1d395bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/changelogs/Changelog-r19.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ r19c

* [Issue 912]: Prevent the CMake toolchain file from clobbering a user
specified `CMAKE_FIND_ROOT_PATH`.
* [Issue 920]: Fix clang wrapper scripts on Windows.

[Issue 912]: https://github.com/android-ndk/ndk/issues/912
[Issue 920]: https://github.com/android-ndk/ndk/issues/920

r19b
----
Expand Down
4 changes: 2 additions & 2 deletions ndk/checkbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -1382,8 +1382,8 @@ def write_clang_wrapper(install_dir, api, triple, is_windows):
if is_windows:
write_clang_batch_script(wrapper_path + '.cmd', 'clang' + exe_suffix,
flags)
write_clang_batch_script(wrapper_path + '.cmd', 'clang++' + exe_suffix,
flags)
write_clang_batch_script(wrapperxx_path + '.cmd',
'clang++' + exe_suffix, flags)


class BaseToolchain(ndk.builds.Module):
Expand Down

0 comments on commit 1d395bf

Please sign in to comment.