kern/elf: Ignore cast-align warnings

This commit is contained in:
Vladimir Serbinenko 2015-11-09 11:39:30 +01:00
parent cb28250cfc
commit 254f92815b

View file

@ -28,6 +28,8 @@
GRUB_MOD_LICENSE ("GPLv3+");
#pragma GCC diagnostic ignored "-Wcast-align"
#if defined(__powerpc__) && defined(GRUB_MACHINE_IEEE1275)
#define GRUB_ELF_ENABLE_BI_ENDIAN 1
#else