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

Commit 32582fa4 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Add sh to the CC_OPTIMIZE_FOR_SIZE dependencies.



Presently we only use this with CONFIG_EXPERIMENTAL, but it is
something that can be supported commonly.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent e257ad06
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -340,7 +340,7 @@ endif
config CC_OPTIMIZE_FOR_SIZE
config CC_OPTIMIZE_FOR_SIZE
	bool "Optimize for size (Look out for broken compilers!)"
	bool "Optimize for size (Look out for broken compilers!)"
	default y
	default y
	depends on ARM || H8300 || EXPERIMENTAL
	depends on ARM || H8300 || SUPERH || EXPERIMENTAL
	help
	help
	  Enabling this option will pass "-Os" instead of "-O2" to gcc
	  Enabling this option will pass "-Os" instead of "-O2" to gcc
	  resulting in a smaller kernel.
	  resulting in a smaller kernel.