Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cctools] don't include objc-runtime.h in print_objc.c and print_bitc…
…ode.c. On macOS 13, Gentoo Prefix fails to compile cctools due to missing Blocks support in GCC, creating the following error: /Users/ec2-user/gentoo/MacOSX.sdk/usr/include/objc/runtime.h:373:29: error: expected ')' before '^' token 373 | void (^ _Nonnull block)(Class _Nonnull aClass, BOOL * _Nonnull stop) | ^ | ) Fortunately the header objc-runtime.h is not strictly necessary. As a workaround, stop including objc-runtime.h in print_objc.c and print_bitcode.c. Signed-off-by: Yifeng Li <tomli@tomli.me>
- Loading branch information