[Lunar-commits] <moonbase> grub: fix it (gcc 4.6.x issue). Thanks to sirocco for the submission.

Florin Braescu florin at lunar-linux.org
Wed Nov 9 09:23:50 CET 2011


commit 4ce529573c30713dc050ee6800c24c4176500c4c
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Wed Nov 9 09:23:50 2011 +0100

    grub: fix it (gcc 4.6.x issue). Thanks to sirocco for the submission.
---
 utils/grub/BUILD |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/utils/grub/BUILD b/utils/grub/BUILD
index d035f16..670c318 100644
--- a/utils/grub/BUILD
+++ b/utils/grub/BUILD
@@ -15,6 +15,7 @@
   patch_it  $SOURCE_CACHE/$SOURCE4  1  &&
 
   unset CFLAGS CXXFLAGS CPPFLAGS  &&
+  export CFLAGS=" -fno-strict-aliasing"  &&
   default_build  &&
   gzip -9 ChangeLog  &&
   mkdir -p $DOCUMENT_DIRECTORY/grub  &&


More information about the Lunar-commits mailing list