Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit edbc4595 authored by Brian Carlstrom's avatar Brian Carlstrom Committed by Android Git Automerger
Browse files

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

* commit 'd51730a6':
  Help catch common 32/64-bit errors.
parents 97f49221 d51730a6
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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 \