diff options
Diffstat (limited to 'meta/recipes-bsp/grub/grub2.inc')
| -rw-r--r-- | meta/recipes-bsp/grub/grub2.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index e2a2a84277..07b4000e04 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc | |||
| @@ -51,6 +51,10 @@ GRUBPLATFORM ??= "pc" | |||
| 51 | inherit autotools gettext texinfo pkgconfig | 51 | inherit autotools gettext texinfo pkgconfig |
| 52 | 52 | ||
| 53 | CFLAGS:remove = "-O2" | 53 | CFLAGS:remove = "-O2" |
| 54 | # It doesn't support sse, its make.defaults sets: | ||
| 55 | # CFLAGS += -mno-mmx -mno-sse | ||
| 56 | # So also remove -mfpmath=sse from TUNE_CCARGS | ||
| 57 | TUNE_CCARGS:remove = "-mfpmath=sse" | ||
| 54 | 58 | ||
| 55 | EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} \ | 59 | EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} \ |
| 56 | --disable-grub-mkfont \ | 60 | --disable-grub-mkfont \ |
