Closed tlyu closed 9 months ago
Use -Wl,-ld_classic on macOS, to work around a bug in recent versions of XCode when trying to link object files created by GCC. This change has to be coordinated with the Kaleidoscope testing Makefiles, but is safe to apply first.
-Wl,-ld_classic
References:
https://github.com/Homebrew/homebrew-core/issues/145991 https://developer.apple.com/forums/thread/737707
Use
-Wl,-ld_classic
on macOS, to work around a bug in recent versions of XCode when trying to link object files created by GCC. This change has to be coordinated with the Kaleidoscope testing Makefiles, but is safe to apply first.References:
https://github.com/Homebrew/homebrew-core/issues/145991 https://developer.apple.com/forums/thread/737707