================
@@ -45,10 +45,10 @@ 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'
+    '@CMAKE_CXX_FLAGS_INIT@ -nostdinc++ -I %{include} -I 
%{libcxx}/test/support'
----------------
EricWF wrote:

I don't think this makes sense. The flags you use to build the library may not 
be the flags our users use when using it.


I think the test suite should handle its flags manually, and we should find 
another route to get you what you want here.



https://github.com/llvm/llvm-project/pull/67201
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to