OSDN Git Service

Merge c1efb060
authorJean-Baptiste Queru <jbq@google.com>
Tue, 7 Jun 2011 20:09:58 +0000 (13:09 -0700)
committerJean-Baptiste Queru <jbq@google.com>
Tue, 7 Jun 2011 20:10:06 +0000 (13:10 -0700)
Change-Id: I5688046fd44bc6420b541a0eb97a46d216655a3d

1  2 
core/config.mk
core/main.mk

diff --cc core/config.mk
@@@ -271,12 -268,14 +271,18 @@@ ifeq ($(HOST_OS),darwin
  HOST_JDK_TOOLS_JAR :=
  else
  HOST_JDK_TOOLS_JAR:= $(shell $(BUILD_SYSTEM)/find-jdk-tools-jar.sh)
 +ifeq ($(wildcard $(HOST_JDK_TOOLS_JAR)),)
 +$(error Error: could not find jdk tools.jar, please install JDK6, \
 +    which you can download from java.sun.com)
 +endif
  endif
  
+ # Is the host JDK 64-bit version?
+ HOST_JDK_IS_64BIT_VERSION :=
+ ifneq ($(filter 64-Bit, $(shell java -version 2>&1)),)
+ HOST_JDK_IS_64BIT_VERSION := true
+ endif
  # It's called md5 on Mac OS and md5sum on Linux
  ifeq ($(HOST_OS),darwin)
  MD5SUM:=md5 -q
diff --cc core/main.mk
Simple merge