[clang] [clang][PP] Add extension to predefine target OS macros (PR #74676)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 24 23:25:21 PST 2024
stbergmann wrote:
Is the motivation for this change in behavior (on macOS) documented somewhere? Besides zlib as already discussed above, pre-defining `TARGET_OS_MAC` apparently at least also affects some libpng builds (and I ultimately had to globally set `-fno-define-target-os-macros` for now to make a test build of LibreOffice and all its included external libraries work).
https://github.com/llvm/llvm-project/pull/74676
More information about the cfe-commits
mailing list