summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2015-06-06 11:55:16 -0700
committerYing Wang <wangying@google.com>2015-06-08 12:20:16 -0700
commit26e663d4796e74fc40a62b3d2a438b726bbb056e (patch)
tree97523dbd8cd6839abea350f35e68512dffcfcb47 /tools
parente49af9bca5706ecbc9c4f3cf15be990294106952 (diff)
downloadbionic-26e663d4796e74fc40a62b3d2a438b726bbb056e.zip
bionic-26e663d4796e74fc40a62b3d2a438b726bbb056e.tar.gz
bionic-26e663d4796e74fc40a62b3d2a438b726bbb056e.tar.bz2
Fix Mac checkbuild.
Bug: 21669400 Change-Id: I54691661605a2e2c1871781964aed343840b8560 (cherry-pick from commit 33c2d441b8f816722bed984c6e12b82b888c3ca2)
Diffstat (limited to 'tools')
-rw-r--r--tools/relocation_packer/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/relocation_packer/Android.mk b/tools/relocation_packer/Android.mk
index 75dba71..4e2fd97 100644
--- a/tools/relocation_packer/Android.mk
+++ b/tools/relocation_packer/Android.mk
@@ -14,6 +14,7 @@
# limitations under the License.
#
+ifeq ($(HOST_OS),linux)
common_cppflags := -Wall -Wextra -Wunused -Werror -Wold-style-cast
LOCAL_PATH := $(call my-dir)
@@ -95,3 +96,5 @@ $(eval $(call copy-test-library,elf_file_unittest_relocs_arm32.so))
$(eval $(call copy-test-library,elf_file_unittest_relocs_arm32_packed.so))
$(eval $(call copy-test-library,elf_file_unittest_relocs_arm64.so))
$(eval $(call copy-test-library,elf_file_unittest_relocs_arm64_packed.so))
+
+endif