llvm-capstone/libc/lib
Siva Chandra Reddy b875defc55 [libc] Build two different static archives libc.a and libm.a under full build.
We currently put everything in one single archive libc.a which breaks in
certain situations where the compiler drivers expect libm.a also. With
this change, we separate out libc.a and libm.a functions as is done
conventionally and put them in two different static archives.

One will now have to build two targets, `libc` and `libm` which produce
`libc.a` and `libm.a` respectively. Under default build, one still builds only
one target named `libc` which produces `libllvmlibc.a`.

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D143005
2023-01-31 21:45:08 +00:00
..
CMakeLists.txt [libc] Build two different static archives libc.a and libm.a under full build. 2023-01-31 21:45:08 +00:00