* commit 'edbc4595b817aef5f620e78dc283d8cc8fccff2a': Help catch common 32/64-bit errors.
This commit is contained in:
commit
a44f9a35a2
1 changed files with 5 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue