u-boot: Don't make the -Os removal part of global settings.
We don't want to force everyone to be stripping the -Os flags from their u-boot builds. Remove it, since it pertains to an old toolchain issue that is no longer relevant, and it breaks the powerpc mpc8315. (From OE-Core rev: 5e3f777f9fcc986ae66203651830b5765bca49fd) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
01e891ad71
commit
feb06a0a2d
|
@ -7,8 +7,7 @@ inherit deploy
|
|||
|
||||
PARALLEL_MAKE=""
|
||||
|
||||
# GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS
|
||||
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'"
|
||||
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
|
||||
|
||||
python () {
|
||||
if not d.getVar("UBOOT_MACHINE", True):
|
||||
|
|
Loading…
Reference in New Issue