luporl wrote: Ok, thanks, I'll try with `-DDEFAULT_SYSROOT="$(xcrun --show-sdk-path)"`.
But it's good to know that using `-isysroot` with flang is the right solution. I'll try to come up with a patch to make flang support it, when I have some spare time. https://github.com/llvm/llvm-project/pull/75393 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits