Commit Graph

7 Commits (05665e8d1398d6b838fef0325c08503a68735eee)

Author SHA1 Message Date
Doug Coleman 0cfc48479e macos32: Lock to 10.11 for build machine.
32bit macos has been deprectated and 10.13 does not seem have i386 libraries anymore.
2019-05-22 11:02:20 -05:00
Doug Coleman 5609370be6 make: Allow overriding macosx sdk
MACOSX_SDK=MacOSX10.11.sdk ./build.sh update macosx-x86-32
2019-03-22 01:32:28 -05:00
Doug Coleman 60c80e4b78 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/
```
2019-03-22 00:09:06 -05:00
Doug Coleman 4a29dafcdf vm/Config: GNUMakefile doesn't actually put the CFLAGS on the command, so use SITE_CFLAGS instead. Put -m32 in Config.x86.32, -m64 in Config.x86.64. Fixes #488. 2012-04-05 10:26:50 -07:00
Joe Groff 2a56ba0d2d add -D_XOPEN_SOURCE flag to suppress ucontext deprecation errors on snow leopard. add -m32 flag when compiling 32-bit because snow leopard gcc defaults to x86_64 2009-08-26 16:29:55 -05:00
Slava Pestov 5d01a369e4 Update Config.* fixes (???) 2007-09-22 00:03:47 -04:00
Slava 7475278aea Build system cleanup 2007-09-22 00:41:17 -04:00