================
@@ -927,6 +927,11 @@ void darwin::StaticLibTool::ConstructJob(Compilation &C, 
const JobAction &JA,
 
   AddMachOSysLibRoot(C, Args, CmdArgs);
   Args.AddAllArgs(CmdArgs, options::OPT_L);
+  Args.AddAllArgs(CmdArgs, options::OPT_F);
+
+  // -iframework should be forwarded as -F.
----------------
cachemeifyoucan wrote:

Do you care about preserving the relative order of `-F` and `-iframework`? If 
so, you should just filter them together and add them in the order as user 
specified. 

https://github.com/llvm/llvm-project/pull/224428
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to