From 022a7b32efb9ff9ad36dca70696c428b1059ade4 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Wed, 13 Jun 2012 11:38:10 -0700 Subject: [PATCH] Fix arm mode for the generated protobuf code. Change-Id: Ic644ab9e1b83d9616dd9ca93362805cdd17f36a7 --- core/binary.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/binary.mk b/core/binary.mk index 57cda8348..a3e0c0695 100644 --- a/core/binary.mk +++ b/core/binary.mk @@ -302,8 +302,8 @@ $(proto_generated_cc_sources): $(proto_generated_cc_sources_dir)/%.pb.cc: %.prot proto_generated_headers := $(patsubst %.pb.cc,%.pb.h, $(proto_generated_cc_sources)) $(proto_generated_headers): $(proto_generated_cc_sources_dir)/%.pb.h: $(proto_generated_cc_sources_dir)/%.pb.cc -$(proto_generated_cc_sources): PRIVATE_ARM_MODE := $(normal_objects_mode) -$(proto_generated_cc_sources): PRIVATE_ARM_CFLAGS := $(normal_objects_cflags) +$(proto_generated_objects): PRIVATE_ARM_MODE := $(normal_objects_mode) +$(proto_generated_objects): PRIVATE_ARM_CFLAGS := $(normal_objects_cflags) $(proto_generated_objects): $(proto_generated_cc_sources_dir)/%.o: $(proto_generated_cc_sources_dir)/%.cc $(proto_generated_headers) $(transform-$(PRIVATE_HOST)cpp-to-o) -include $(proto_generated_objects:%.o=%.P)