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

Commit 7e44d7fe authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Filter out gcc only flags.

They are currently used in some vendor projects.

Change-Id: Iff30966cba3b2941a8921cc35bb3ed1e4fea0bad
parent 04ecdda5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -60,8 +60,12 @@ CLANG_CONFIG_UNKNOWN_CFLAGS := \
  -fno-tree-sra \
  -fprefetch-loop-arrays \
  -funswitch-loops \
  -Werror=unused-but-set-variable \
  -Werror=unused-but-set-parameter \
  -Wmaybe-uninitialized \
  -Wno-error=maybe-uninitialized \
  -Wno-error=unused-but-set-variable \
  -Wno-error=unused-but-set-parameter \
  -Wno-free-nonheap-object \
  -Wno-literal-suffix \
  -Wno-maybe-uninitialized \