From d6e11825c4e0f0200e7a4ecf11ec3b27e1a31049 Mon Sep 17 00:00:00 2001 From: Bernhard Rosenkraenzer Date: Mon, 12 May 2014 16:05:14 +0200 Subject: [PATCH] Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGS Add some more gcc specific flags that are used somewhere in the tree (e.g. external/chromium_org) to CLANG_CONFIG_UNKNOWN_CFLAGS Change-Id: Icc572fdb6ea4ba818c4d18e430296589eb61bf55 Signed-off-by: Bernhard Rosenkraenzer --- core/clang/config.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/clang/config.mk b/core/clang/config.mk index c598e7daba..ce6cedaaf8 100644 --- a/core/clang/config.mk +++ b/core/clang/config.mk @@ -29,9 +29,14 @@ CLANG_CONFIG_EXTRA_CFLAGS := \ CLANG_CONFIG_UNKNOWN_CFLAGS := \ -funswitch-loops \ + -fno-tree-sra \ + -finline-limit=64 \ -Wno-psabi \ -Wno-unused-but-set-variable \ -Wno-unused-but-set-parameter \ + -Wmaybe-uninitialized \ + -Wno-maybe-uninitialized \ + -Wno-error=maybe-uninitialized \ -fno-canonical-system-headers # Clang flags for all host rules