Navigation Menu

Skip to content

Commit

Permalink
Enable El Capitan hosts for build
Browse files Browse the repository at this point in the history
I had issues building on el capitan.  This seemed to fix it.

Change-Id: I76532f2d14958329ca86fbaf8313364f898b113d
  • Loading branch information
herriojr committed Dec 1, 2015
1 parent 531e203 commit bf1fe9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/combo/HOST_darwin-x86.mk
Expand Up @@ -38,7 +38,7 @@ ifneq (,$(strip $(wildcard $($(combo_2nd_arch_prefix)HOST_TOOLCHAIN_PREFIX)-gcc)
$(combo_2nd_arch_prefix)HOST_CC := $($(combo_2nd_arch_prefix)HOST_TOOLCHAIN_PREFIX)-gcc
$(combo_2nd_arch_prefix)HOST_CXX := $($(combo_2nd_arch_prefix)HOST_TOOLCHAIN_PREFIX)-g++

ifeq ($(mac_sdk_version), $(filter $(mac_sdk_version), 10.8 10.9 10.10))
ifeq ($(mac_sdk_version), $(filter $(mac_sdk_version), 10.8 10.9 10.10 10.11))
# Mac SDK 10.8 and later does not have stdarg.h, etc
host_toolchain_header := $(HOST_TOOLCHAIN_ROOT)/lib/gcc/i686-apple-darwin$(gcc_darwin_version)/4.2.1/include
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -isystem $(host_toolchain_header)
Expand Down Expand Up @@ -69,7 +69,7 @@ $(combo_2nd_arch_prefix)HOST_JNILIB_SUFFIX := .jnilib
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += \
-include $(call select-android-config-h,darwin-x86)

ifneq ($(filter 10.7 10.7.% 10.8 10.8.% 10.9 10.9.% 10.10 10.10.%, $(build_mac_version)),)
ifneq ($(filter 10.7 10.7.% 10.8 10.8.% 10.9 10.9.% 10.10 10.10.% 10.11 10.11.%, $(build_mac_version)),)
$(combo_2nd_arch_prefix)HOST_RUN_RANLIB_AFTER_COPYING := false
else
$(combo_2nd_arch_prefix)HOST_RUN_RANLIB_AFTER_COPYING := true
Expand Down
4 changes: 2 additions & 2 deletions core/combo/HOST_darwin-x86_64.mk
Expand Up @@ -38,7 +38,7 @@ ifneq (,$(strip $(wildcard $(HOST_TOOLCHAIN_PREFIX)-gcc)))
HOST_CC := $(HOST_TOOLCHAIN_PREFIX)-gcc
HOST_CXX := $(HOST_TOOLCHAIN_PREFIX)-g++

ifeq ($(mac_sdk_version), $(filter $(mac_sdk_version), 10.8 10.9 10.10))
ifeq ($(mac_sdk_version), $(filter $(mac_sdk_version), 10.8 10.9 10.10 10.11))
# Mac SDK 10.8 and later does not have stdarg.h, etc
host_toolchain_header := $(HOST_TOOLCHAIN_ROOT)/lib/gcc/i686-apple-darwin$(gcc_darwin_version)/4.2.1/include
HOST_GLOBAL_CFLAGS += -isystem $(host_toolchain_header)
Expand Down Expand Up @@ -68,7 +68,7 @@ HOST_JNILIB_SUFFIX := .jnilib
HOST_GLOBAL_CFLAGS += \
-include $(call select-android-config-h,darwin-x86)

ifneq ($(filter 10.7 10.7.% 10.8 10.8.% 10.9 10.9.% 10.10 10.10.%, $(build_mac_version)),)
ifneq ($(filter 10.7 10.7.% 10.8 10.8.% 10.9 10.9.% 10.10 10.10.% 10.11 10.11.%, $(build_mac_version)),)
HOST_RUN_RANLIB_AFTER_COPYING := false
else
HOST_RUN_RANLIB_AFTER_COPYING := true
Expand Down

0 comments on commit bf1fe9a

Please sign in to comment.