From 98a90189dbe0bc5b6da163e1f6bc331394d7db2e Mon Sep 17 00:00:00 2001 From: Goran Jakovljevic Date: Wed, 18 Oct 2017 16:41:58 +0200 Subject: [PATCH] Revert "Fix mips and mips64 builds." This reverts commit b5b70be878fe8d29abe399950a4b3a74f9861f81. If __unix__ is defined on mips/mips64 (other CL under the same topic), we will avoid warnings such as: * external/libcxx/src/thread.cpp:105:9: error: hardware_concurrency not yet implemented Test: successful build and boot aosp_mips-eng Test: successful build and boot aosp_mips64-eng --- Android.bp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Android.bp b/Android.bp index 0c176e0d4..737e284e7 100644 --- a/Android.bp +++ b/Android.bp @@ -52,14 +52,6 @@ cc_library_static { local_include_dirs: ["include"], export_include_dirs: ["include"], cflags: ["-Wall", "-Werror"], - arch: { - mips: { - cflags: ["-Wno-#warnings"], - }, - mips64: { - cflags: ["-Wno-#warnings"], - }, - }, cppflags: [ "-std=c++14", "-nostdinc++",