[PATCH] D24083: [CMake] Fix libc++abi __aeabi_idiv() link error.

Logan Chien via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 15 08:59:40 PST 2016


logan added a comment.

Sorry, I don't have time to work on this recently.  Here's the plan:

1. Add another flag to specify the path to `libclang_rt-builtin.a`.

2. If that flag was not specified and the compiler is `clang`, then run `clang -###` to extract for `-L` option and `-l` option for `libclang_rt-builtin.a`.

3. If neither (1) nor (2) are available, then report an error.

I hope I can get back to this next week.


https://reviews.llvm.org/D24083





More information about the cfe-commits mailing list