]> gitweb.factorcode.org Git - factor.git/commit
make: Use the MacOSX 10.13 SDK for x86 support.
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 22 Mar 2019 05:07:38 +0000 (00:07 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 22 Mar 2019 05:09:06 +0000 (00:09 -0500)
commit60c80e4b786b32b292347c428104727d7a503f09
tree5cd46a3ab09dcd5c1d208767310048e428555686
parentd575ac084f3841602933b0bf3cf7958c17f43afe
make: Use the MacOSX 10.13 SDK for x86 support.

Bugfix - CFLAGS += instead of CFLAGS = because it would get overwritten otherwise.

Also allow overwriting of XCODE_PATH for non-standard path.

Download the 10.13 SDK from
https://github.com/phracker/MacOSX-SDKs/releases

```bash
wget https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.13.sdk.tar.xz
xz --uncompress MacOSX10.13.sdk.tar.xz
tar xvf MacOSX10.13.sdk.tar
mv MacOSX10.13.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
```
GNUmakefile
vm/Config.macosx.x86.32