You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When gcc is installed on macOS, e.g. via MacPorts, it is often compiled against a specific sysroot. E.g. the current MacPorts gcc14 is compiled against /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk. But on macOS, cmake will get the sysroot from Xcode: Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk
In such a case (as is now the case of GKlib), compiling with gcc will fail, e.g. as gcc's 'stdlib' overrides are incompatible with the given sysroot
This addition in the Makefile will fix this and let cmake pick up the correct sysroot:
When
gcc
is installed on macOS, e.g. via MacPorts, it is often compiled against a specific sysroot. E.g. the current MacPortsgcc14
is compiled against/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
. But on macOS, cmake will get the sysroot from Xcode:Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk
In such a case (as is now the case of GKlib), compiling with
gcc
will fail, e.g. as gcc's 'stdlib' overrides are incompatible with the given sysrootThis addition in the Makefile will fix this and let cmake pick up the correct sysroot:
The text was updated successfully, but these errors were encountered: