Prechádzať zdrojové kódy

grub2: disable building platform code for target utility

It is not used and it was causing a build error with GCC 7.3

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 7 rokov pred
rodič
commit
1b13cbc15b
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      package/boot/grub2/Makefile

+ 2 - 1
package/boot/grub2/Makefile

@@ -60,7 +60,8 @@ CONFIGURE_ARGS += \
 	--disable-nls \
 	--disable-device-mapper \
 	--disable-libzfs \
-	--disable-grub-mkfont
+	--disable-grub-mkfont \
+	--with-platform=none
 
 HOST_CONFIGURE_VARS += \
 	grub_build_mkfont_excuse="don't want fonts"