diff options
author | Ying Wang <wangying@google.com> | 2015-08-03 18:15:43 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2015-08-04 12:23:27 -0700 |
commit | 0a0e6eae3f918a95f206c748ca0cce4cffeec9d1 (patch) | |
tree | dc50c2e3a7cd12e1f35741e9b94853c50557d4a3 /core/ninja.mk | |
parent | 5c3adca4011db8fd98a3b7beab76b5b02cbab063 (diff) | |
download | platform_build-0a0e6eae3f918a95f206c748ca0cce4cffeec9d1.tar.gz platform_build-0a0e6eae3f918a95f206c748ca0cce4cffeec9d1.tar.bz2 platform_build-0a0e6eae3f918a95f206c748ca0cce4cffeec9d1.zip |
Build static ckati on Linux.
Bug: 22798670
Change-Id: I3aaf127627c1c478ab3af2549e49506d4d1f19df
Diffstat (limited to 'core/ninja.mk')
-rw-r--r-- | core/ninja.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/ninja.mk b/core/ninja.mk index e68ae12f85..de133c5d95 100644 --- a/core/ninja.mk +++ b/core/ninja.mk @@ -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 |