[libcxx-commits] [PATCH] D144252: [runtimes] Synchronize warnings flags between libc++/libc++abi/libunwind
Petr Hosek via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Feb 17 11:24:36 PST 2023
phosek added a comment.
`runtimes/cmake/Modules/WarningFlags.cmake` uses `target_add_compile_flags_if_supported` which is defined in https://github.com/llvm/llvm-project/blob/2b2b8409e6848361577be404bd0ae47a097f0e0c/libcxx/cmake/Modules/HandleLibcxxFlags.cmake#L246. That function uses other functions defined in the same file. That file is also not explicitly included here.
I'd prefer to first move https://github.com/llvm/llvm-project/blob/2b2b8409e6848361577be404bd0ae47a097f0e0c/libcxx/cmake/Modules/HandleLibcxxFlags.cmake to `runtimes/cmake/Modules` and replace https://github.com/llvm/llvm-project/blob/2b2b8409e6848361577be404bd0ae47a097f0e0c/libcxxabi/cmake/Modules/HandleLibcxxabiFlags.cmake and https://github.com/llvm/llvm-project/blob/2b2b8409e6848361577be404bd0ae47a097f0e0c/libunwind/cmake/Modules/HandleLibunwindFlags.cmake.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144252/new/
https://reviews.llvm.org/D144252
More information about the libcxx-commits
mailing list