summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSangWook Han <swhan@nemustech.com>2012-06-08 14:55:05 +0900
committerSangWook Han <swhan@nemustech.com>2012-06-08 14:55:05 +0900
commit02eb37c267adff3528c9e88cdfdd59035ce934b8 (patch)
treedf40a96f7c44be3a0ee2a6a6dc1eea38edfd9a19 /core
parente375c940b9210ea514227b0ee8cfb896d7f11d93 (diff)
downloadbuild-02eb37c267adff3528c9e88cdfdd59035ce934b8.zip
build-02eb37c267adff3528c9e88cdfdd59035ce934b8.tar.gz
build-02eb37c267adff3528c9e88cdfdd59035ce934b8.tar.bz2
Fix generic build on Max OS X 10.7 Lion
Recover variable build_mac_version which is removed on commit 644dc16 and added on commit 9ce06f1. Without this, ranlib libSDL.a is executed on Lion which causes build fail of emulator-arm. Change-Id: I06144a288921f8f968ef457999398c1b9152d4aa
Diffstat (limited to 'core')
-rw-r--r--core/combo/HOST_darwin-x86.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/combo/HOST_darwin-x86.mk b/core/combo/HOST_darwin-x86.mk
index 5ab2c0d..8be6a42 100644
--- a/core/combo/HOST_darwin-x86.mk
+++ b/core/combo/HOST_darwin-x86.mk
@@ -23,6 +23,7 @@
HOST_GLOBAL_CFLAGS += -m32
HOST_GLOBAL_LDFLAGS += -m32
+build_mac_version := $(shell sw_vers -productVersion)
mac_sdk_version := 10.6
mac_sdk_root := /Developer/SDKs/MacOSX$(mac_sdk_version).sdk
ifeq ($(wildcard $(mac_sdk_root)),)