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

Commit ced6159b authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by Gerrit Code Review
Browse files

Merge "Filter out gcc flags that are not recognized by clang."

parents 6ac0d474 9205bc1d
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -68,14 +68,18 @@ CLANG_CONFIG_UNKNOWN_CFLAGS := \
  -funswitch-loops \
  -Wmaybe-uninitialized \
  -Wno-error=maybe-uninitialized \
  -Wno-error=unused-but-set-parameter \
  -Wno-error=unused-but-set-variable \
  -Wno-free-nonheap-object \
  -Wno-literal-suffix \
  -Wno-maybe-uninitialized \
  -Wno-old-style-declaration \
  -Wno-psabi \
  -Wno-unused-but-set-variable \
  -Wno-unused-but-set-parameter \
  -Wno-unused-local-typedefs
  -Wno-unused-but-set-variable \
  -Wno-unused-local-typedefs \
  -Wunused-but-set-parameter \
  -Wunused-but-set-variable

# Clang flags for all host rules
CLANG_CONFIG_HOST_EXTRA_ASFLAGS :=