[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
Fri Oct 6 12:25:37 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:

Updated to just add the extra arg.

https://github.com/llvm/llvm-project/pull/67201


More information about the libcxx-commits mailing list