am d51730a6
: Merge "Help catch common 32/64-bit errors."
* commit 'd51730a64fac296f42f28ac84feca02a9ee6ef15': Help catch common 32/64-bit errors.
This commit is contained in:
@@ -24,9 +24,13 @@ CLANG_CONFIG_EXTRA_CFLAGS :=
|
|||||||
CLANG_CONFIG_EXTRA_CPPFLAGS :=
|
CLANG_CONFIG_EXTRA_CPPFLAGS :=
|
||||||
CLANG_CONFIG_EXTRA_LDFLAGS :=
|
CLANG_CONFIG_EXTRA_LDFLAGS :=
|
||||||
|
|
||||||
CLANG_CONFIG_EXTRA_CFLAGS := \
|
CLANG_CONFIG_EXTRA_CFLAGS += \
|
||||||
-D__compiler_offsetof=__builtin_offsetof
|
-D__compiler_offsetof=__builtin_offsetof
|
||||||
|
|
||||||
|
# Help catch common 32/64-bit errors.
|
||||||
|
CLANG_CONFIG_EXTRA_CFLAGS += \
|
||||||
|
-Werror=int-conversion
|
||||||
|
|
||||||
CLANG_CONFIG_UNKNOWN_CFLAGS := \
|
CLANG_CONFIG_UNKNOWN_CFLAGS := \
|
||||||
-funswitch-loops \
|
-funswitch-loops \
|
||||||
-fno-tree-sra \
|
-fno-tree-sra \
|
||||||
|
Reference in New Issue
Block a user