[libcxx-commits] [libcxx] [libunwind][libc++][libc++abi] Add cross-compilation flags to tests (PR #67201)
Alexander Richardson via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Oct 5 15:55:03 PDT 2023
================
@@ -44,12 +44,8 @@ BACKDEPLOYMENT_PARAMETERS = [
config.substitutions.append(('%{flags}',
'-isysroot {}'.format('@CMAKE_OSX_SYSROOT@') if '@CMAKE_OSX_SYSROOT@' else ''
))
-config.substitutions.append(('%{compile_flags}',
- '-nostdinc++ -I %{include} -I %{libcxx}/test/support'
-))
-config.substitutions.append(('%{link_flags}',
- '-nostdlib++ -L %{lib} -lc++'
-))
+config.substitutions.append(('%{compile_flags}', config._common_compile_flags_no_target))
----------------
arichardson wrote:
Sure I can revert the current changes, I just thought it might be good to avoid duplicating the flags where possible. Will update to only add the CMAKE variables.
https://github.com/llvm/llvm-project/pull/67201
More information about the libcxx-commits
mailing list