>On Thu, Sep 03, 2009 at 12:31:57AM +0200, Magnus Granberg wrote: >> >Why not just check if the compiler accepts -fno-PIE and use it? No >> >harm done if -fPIE wasn't default, right? >> ------ >> Didn't want to add -fno-PIE when it was not needed and to be on the >> safe side . I can make it to check for -fno-PIE and use that. > >First approach was fine IMHO. But please include a ChangeLog entry. > >-- >Robert Millan > > The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and > how) you may access your data; but nobody's threatening your freedom: we > still allow you to remove your data and not access it at all."
The ChangeLog ----- 2009-09-03 Magnus Granberg <zo...@ume.nu> * aclocal.m4: Add grub_CHECK_PIE. It check if the compiler include -fPIE in the default specs. * configure.ac: Check if pie_possible is yes and add -fno-PIE to TARGET_CFLAGS. ------ Hardened-Development /Magnus Granberg (Zorry) <zo...@ume.nu> _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel