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

db4
Joe Groff 2009-08-26 16:29:55 -05:00
parent 784b8c04ce
commit 2a56ba0d2d
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
include vm/Config.unix
CFLAGS += -fPIC
CFLAGS += -fPIC -D_XOPEN_SOURCE
PLAF_DLL_OBJS += vm/os-macosx.o vm/mach_signal.o

View File

@ -1,2 +1,3 @@
include vm/Config.macosx
include vm/Config.x86.32
CFLAGS += -m32