From: Ying Wang Date: Sat, 6 Jun 2015 18:55:16 +0000 (-0700) Subject: Fix Mac checkbuild. X-Git-Tag: android-x86-7.1-r1~270^2~230^2~121^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4900f1c4cd41f57c6d453ecd84fd82b8d7d9e8fa;p=android-x86%2Fbionic.git Fix Mac checkbuild. Bug: 21669400 Change-Id: I54691661605a2e2c1871781964aed343840b8560 (cherry-pick from commit 33c2d441b8f816722bed984c6e12b82b888c3ca2) --- diff --git a/tools/relocation_packer/Android.mk b/tools/relocation_packer/Android.mk index 94c946cda..35c97a8c3 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) @@ -101,3 +102,5 @@ $(eval $(call copy-test-library,elf_file_unittest_relocs_x64.so)) $(eval $(call copy-test-library,elf_file_unittest_relocs_x64_packed.so)) $(eval $(call copy-test-library,elf_file_unittest_relocs_mips32.so)) $(eval $(call copy-test-library,elf_file_unittest_relocs_mips32_packed.so)) + +endif