chiark / gitweb /
Fix OSX build failure from latest XCode update.
authorSimon Tatham <anakin@pobox.com>
Sat, 6 Oct 2018 17:22:42 +0000 (18:22 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 6 Oct 2018 17:38:33 +0000 (18:38 +0100)
commitf281644b0be91917b7f9f43d7496140173d7ed2e
tree43603a1700de8d871ca04085605ec405a0ee8c57
parentd8d506455ebe69888dcc4759eb9fc787bfe29ad9
Fix OSX build failure from latest XCode update.

To begin with, the toolchain no longer lets me build for x86-32 -
apparently MacOS is now 64-bit only.

Also, the linker now gives an error about a missing libgcc_s variant
for -mmacosx-version-min=10.4, and indeed 10.5. So I've bumped the
minimum supported OS version to 10.6.

That in turn required some changes in osx.m itself, because bumping
the min OS version caused some API deprecations to show up. Luckily I
turned out to have left myself a comment some time ago telling me what
I was going to need to do about one of them :-)
mkfiles.pl
osx.m