On 6/8/2014 12:29 PM, Bryan Drewery wrote:
> Author: bdrewery
> Date: Sun Jun  8 17:29:31 2014
> New Revision: 267233
> URL: http://svnweb.freebsd.org/changeset/base/267233
> 
> Log:
>   In preparation for ASLR [1] support add WITH_PIE to support building with 
> -fPIE.
>   
>   This is currently an opt-in build flag. Once ASLR support is ready and 
> stable
>   it should changed to opt-out and be enabled by default along with ASLR.
>   
>   Each application Makefile uses opt-out to ensure that ASLR will be enabled 
> by
>   default in new directories when the system is compiled with PIE/ASLR. [2]
>   
>   Mark known build failures as NO_PIE for now.
>   
>   The only known runtime failure was rtld.
>   
>   [1] http://www.bsdcan.org/2014/schedule/events/452.en.html
>   Submitted by:               Shawn Webb <latt...@gmail.com>
>   Discussed between:  des@ and Shawn Webb [2]
> 
...
> 
> Modified: head/share/mk/bsd.opts.mk
> ==============================================================================
> --- head/share/mk/bsd.opts.mk Sun Jun  8 15:38:40 2014        (r267232)
> +++ head/share/mk/bsd.opts.mk Sun Jun  8 17:29:31 2014        (r267233)
> @@ -68,7 +68,8 @@ __DEFAULT_YES_OPTIONS = \
>  __DEFAULT_NO_OPTIONS = \
>      CTF \
>      DEBUG_FILES \
> -    INSTALL_AS_USER
> +    INSTALL_AS_USER \
> +    PIE
>  
>  .include <bsd.mkopt.mk>
>  

In case you missed it. This commit is a NOP. By default PIE is not used.

-- 
Regards,
Bryan Drewery

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to