grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Some distributions ship compilers that include -fPIE in the


From: Magnus Granberg
Subject: Re: [PATCH] Some distributions ship compilers that include -fPIE in the default specs (Gentoo Hardened)
Date: Thu, 3 Sep 2009 18:55:15 +0200
User-agent: KMail/1.12.0 (Linux/2.6.30-gentoo-r5; KDE/4.3.0; x86_64; ; )

>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  <address@hidden>

       * 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) <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]