FROMLIST: Revert "kbuild: use -Oz instead of -Os when using clang"

The clang option -Oz enables *aggressive* optimization for size,
which doesn't necessarily result in smaller images, but can have
negative impact on performance. Switch back to the less aggressive

This reverts commit 6748cb3c299de1ffbe56733647b01dbcc398c419.

Suggested-by: Peter Zijlstra <>
Signed-off-by: Matthias Kaehlcke <>
Reviewed-by: Nick Desaulniers <>
(am from

TEST=build for eve
  => no errors about undefined symbols

Change-Id: Iea4446b97fc7ba1e93d2e12da02e738d9fd48edf
Signed-off-by: Matthias Kaehlcke <>
Commit-Ready: Manoj Gupta <>
Reviewed-by: Sean Paul <>
Reviewed-by: Guenter Roeck <>
1 file changed