diff options
author | Mattijs Korpershoek <mkorpershoek@baylibre.com> | 2023-10-13 10:48:48 +0200 |
---|---|---|
committer | Mattijs Korpershoek <mkorpershoek@baylibre.com> | 2023-10-13 16:31:13 +0200 |
commit | f6b0e5b1de401e9dc9a5f622903c160f66c9719e (patch) | |
tree | e609d07c334033f49078a2c24d6c77bf61474f4f /subprojects/packagefiles/vndk | |
parent | 0d5e9943e9ba845b28f958f089f02462c0ac425f (diff) |
meson: fix building with cpp_stlib
When building with custom STLs [1], meson will pass -nostdlib++ to the compiler,
which will conflict with the -stdlib=libc++ flag:
clang-17: error: argument unused during compilation: '-stdlib=libc++' [-Werror,-Wunused-command-line-argument]
Test the user requested a custom cpp_stlib and only configure libc++ when needed.
[1] https://mesonbuild.com/Cross-compilation.html#using-a-custom-standard-library
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'subprojects/packagefiles/vndk')
0 files changed, 0 insertions, 0 deletions