forked from openkylin/platform_build
Merge "Darwin: Use the same `ar` as Soong" am: a223b1c
am: ef75289
* commit 'ef752894ea7f8d176f0cf41fc53014113ee16d8b':
Darwin: Use the same `ar` as Soong
Change-Id: I04ba9a5cbac3a5a2d539c1984cf1e45ece8516f3
This commit is contained in:
commit
89ab6f6969
|
@ -44,7 +44,7 @@ endef
|
|||
# HOST_TOOLCHAIN_ROOT is a Darwin-specific define
|
||||
$(combo_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG := $($(combo_2nd_arch_prefix)HOST_TOOLCHAIN_ROOT)
|
||||
|
||||
$(combo_2nd_arch_prefix)HOST_AR := $(AR)
|
||||
$(combo_2nd_arch_prefix)HOST_AR := $(mac_sdk_path)/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar
|
||||
|
||||
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -isysroot $(mac_sdk_root) -mmacosx-version-min=$(mac_sdk_version) -DMACOSX_DEPLOYMENT_TARGET=$(mac_sdk_version)
|
||||
$(combo_2nd_arch_prefix)HOST_GLOBAL_LDFLAGS += -isysroot $(mac_sdk_root) -Wl,-syslibroot,$(mac_sdk_root) -mmacosx-version-min=$(mac_sdk_version)
|
||||
|
|
|
@ -44,7 +44,7 @@ endef
|
|||
# HOST_TOOLCHAIN_ROOT is a Darwin-specific define
|
||||
HOST_TOOLCHAIN_FOR_CLANG := $(HOST_TOOLCHAIN_ROOT)
|
||||
|
||||
HOST_AR := $(AR)
|
||||
HOST_AR := $(mac_sdk_path)/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar
|
||||
|
||||
HOST_GLOBAL_CFLAGS += -isysroot $(mac_sdk_root) -mmacosx-version-min=$(mac_sdk_version) -DMACOSX_DEPLOYMENT_TARGET=$(mac_sdk_version)
|
||||
HOST_GLOBAL_LDFLAGS += -isysroot $(mac_sdk_root) -Wl,-syslibroot,$(mac_sdk_root) -mmacosx-version-min=$(mac_sdk_version)
|
||||
|
|
Loading…
Reference in New Issue