summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-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 bb9aacb478..54c0e9bdd5 100644
--- a/meta/recipes-bsp/grub/grub2.inc
+++ b/meta/recipes-bsp/grub/grub2.inc
@@ -52,6 +52,10 @@ GRUBPLATFORM ??= "pc"
52inherit autotools gettext texinfo pkgconfig 52inherit autotools gettext texinfo pkgconfig
53 53
54CFLAGS:remove = "-O2" 54CFLAGS:remove = "-O2"
55# It doesn't support sse, its make.defaults sets:
56# CFLAGS += -mno-mmx -mno-sse
57# So also remove -mfpmath=sse from TUNE_CCARGS
58TUNE_CCARGS:remove = "-mfpmath=sse"
55 59
56EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} \ 60EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} \
57 --disable-grub-mkfont \ 61 --disable-grub-mkfont \