am 479de877: am a101f558: am ecbc5b40: Merge "Build static ckati on Linux."

* commit '479de8779ef74c0976f81cba00492aa17cfb6c36':
  Build static ckati on Linux.
This commit is contained in:
Ying Wang 2015-08-06 18:02:38 +00:00 committed by Android Git Automerger
commit 1c79b73b69
1 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,11 @@ kati.intermediate: $(KATI)
KATI_CXX := $(CLANG_CXX) $(CLANG_HOST_GLOBAL_CPPFLAGS)
KATI_LD := $(CLANG_CXX) $(CLANG_HOST_GLOBAL_LDFLAGS)
# Build static ckati. Unfortunately Mac OS X doesn't officially support static exectuables.
ifeq ($(BUILD_OS),linux)
KATI_LD += -static
endif
KATI_INTERMEDIATES_PATH := $(HOST_OUT_INTERMEDIATES)/EXECUTABLES/ckati_intermediates
KATI_BIN_PATH := $(HOST_OUT_EXECUTABLES)
include build/kati/Makefile.ckati