UPSTREAM: kbuild: use -Oz instead of -Os when using clang
authorBehan Webster <behanw@converseincode.com>
Tue, 28 Mar 2017 01:19:09 +0000 (18:19 -0700)
committerGreg Hackmann <ghackmann@google.com>
Mon, 9 Oct 2017 21:00:12 +0000 (14:00 -0700)
commit6602531121707294674793ed27100118be4b87bc
treec6c8a2b31732a749be0ef505c6e14baf246b63a5
parent8c4e0602b862c3f655a99e81b26cec52cbc80667
UPSTREAM: kbuild: use -Oz instead of -Os when using clang

This generates smaller resulting object code when compiled with clang.

Signed-off-by: Behan Webster <behanw@converseincode.com>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
(cherry picked from commit 6748cb3c299de1ffbe56733647b01dbcc398c419)
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Change-Id: I5336ef3af6c7c638d9a68661c3c0e3f22693fdc8
Makefile