From 42db34aa0892c86e20da1063d7e4b07383fd73fe Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Thu, 30 May 2013 17:16:03 -0400 Subject: Update Makefile for V8 MacOS X operation. Link with 64bit by default. --- Makethird | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makethird b/Makethird index 5fba9120..0dc8570e 100644 --- a/Makethird +++ b/Makethird @@ -31,13 +31,12 @@ else V8LIB_CHOICE := debug endif +V8_ARCH ?= x64 + # If you are building for 32bit linux use V8_ARCH=ia32 -# MacOSX has a 64bit kernel, but a 32 bit userspace. ifeq "$(OS)" "Darwin" -V8_ARCH ?= ia32 V8LIBS = -L$(V8_DIR)/out-mac/$(V8_ARCH).$(V8LIB_CHOICE)/ -lv8_base -lv8_snapshot else -V8_ARCH ?= x64 V8LIBS = -L$(V8_DIR)/out/$(V8_ARCH).$(V8LIB_CHOICE)/obj.target/tools/gyp -lv8_base -lv8_snapshot -lpthread endif -- cgit v1.2.3