summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub/grub2.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/grub/grub2.inc')
-rw-r--r--meta/recipes-bsp/grub/grub2.inc4
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"
51inherit autotools gettext texinfo pkgconfig 51inherit autotools gettext texinfo pkgconfig
52 52
53CFLAGS:remove = "-O2" 53CFLAGS: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
57TUNE_CCARGS:remove = "-mfpmath=sse"
54 58
55EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} \ 59EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} \
56 --disable-grub-mkfont \ 60 --disable-grub-mkfont \