diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/xcompile/xcompile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index ad4361db53..ff067d2f6a 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -201,6 +201,13 @@ detect_special_flags() { CFLAGS_GCC="$CFLAGS_GCC -Wno-address-of-packed-member" testcc "$GCC" "$CFLAGS_GCC --param=min-pagesize=1024 $FLAGS_GCC" && CFLAGS_GCC="$CFLAGS_GCC --param=min-pagesize=1024" + + testcc "$GCC" "$CFLAGS_GCC -Wflex-array-member-not-at-end" && + CFLAGS_GCC="$CFLAGS_GCC -Wflex-array-member-not-at-end" + + testcc "$GCC" "$CFLAGS_GCC -Wcalloc-transposed-args" && + CFLAGS_GCC="$CFLAGS_GCC -Wcalloc-transposed-args" + case "$architecture" in x86) ;; |