Skip to content

toolchains clang script no working #2050

Closed Answered by DanAlbert
Tracker647 asked this question in Q&A
Discussion options

You must be logged in to vote

Can you migrate to not using those? There's really no reason to use them. You can replace c = toolchain / 'bin/i686-linux-android23-clang' with `c = toolchain / 'bin/clang --target=i686-linux-android23'. It's the same intended effect without the occasional bugs introduced by the intermediate script. The only reason the trampolines exist is to work in build systems that for some reason can't handle using clang normally.

I see that https://developer.android.com/ndk/guides/other_build_systems recommends both, but then the examples use only the thing I just said to not do. I've just sent a CL to make it clear on that page that --target should be preferred, and the prefixed launchers are a las…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Tracker647
Comment options

@DanAlbert
Comment options

Answer selected by Tracker647
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants