diff options
author | Elliott Hughes <enh@google.com> | 2017-05-19 22:21:32 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-05-19 22:28:21 -0700 |
commit | f9ff7e608d118c6d609a463b399e03112c9a039a (patch) | |
tree | 55c67ba354c77970e06fc54c60feb62eac8e4429 | |
parent | eda3a60699e1d96bb68875ef2169ca819eb8f4f9 (diff) | |
download | fio-f9ff7e608d118c6d609a463b399e03112c9a039a.tar.gz |
Fix build.
Bug: N/A
Test: builds
Change-Id: Id17f524d0bcd3b381cec7fc4996818cbfaa455ea
-rw-r--r-- | Android.bp | 26 |
1 files changed, 20 insertions, 6 deletions
@@ -44,13 +44,27 @@ cc_defaults { "-include sys/sysmacros.h", ], + multilib: { + lib32: { + cflags: [ + "-DBITS_PER_LONG=32", + "-DCONFIG_32BIT", + ], + }, + lib64: { + cflags: [ + "-DBITS_PER_LONG=64", + "-DCONFIG_64BIT", + ], + }, + }, arch: { - arm: { cflags: ["-DBITS_PER_LONG=32", "-DCONFIG_32BIT"] }, - arm64: { cflags: ["-DBITS_PER_LONG=64", "-DCONFIG_64BIT"] }, - mips: { cflags: ["-DBITS_PER_LONG=32", "-DCONFIG_32BIT"] }, - mips64: { cflags: ["-DBITS_PER_LONG=64", "-DCONFIG_64BIT"] }, - x86: { cflags: ["-DBITS_PER_LONG=32", "-DCONFIG_32BIT"] }, - x86_64: { cflags: ["-DBITS_PER_LONG=64", "-DCONFIG_64BIT"] }, + mips: { + enabled: false, + }, + mips64: { + enabled: false, + }, }, tidy_checks: ["-clang-analyzer*"], |