am a44f9a35: am edbc4595: am d51730a6: Merge "Help catch common 32/64-bit errors."

* commit 'a44f9a35a284c600616a7f2213a861ecdefd5615':
  Help catch common 32/64-bit errors.
This commit is contained in:
Brian Carlstrom 2014-06-17 23:38:48 +00:00 committed by Android Git Automerger
commit 3bd5abb4f9
1 changed files with 5 additions and 1 deletions

View File

@ -24,9 +24,13 @@ CLANG_CONFIG_EXTRA_CFLAGS :=
CLANG_CONFIG_EXTRA_CPPFLAGS :=
CLANG_CONFIG_EXTRA_LDFLAGS :=
CLANG_CONFIG_EXTRA_CFLAGS := \
CLANG_CONFIG_EXTRA_CFLAGS += \
-D__compiler_offsetof=__builtin_offsetof
# Help catch common 32/64-bit errors.
CLANG_CONFIG_EXTRA_CFLAGS += \
-Werror=int-conversion
CLANG_CONFIG_UNKNOWN_CFLAGS := \
-funswitch-loops \
-fno-tree-sra \