autoconf
[Top][All Lists]
Advanced

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

Re: AC_*/AM_* macros for options


From: Eric Blake
Subject: Re: AC_*/AM_* macros for options
Date: Mon, 28 Oct 2013 17:25:24 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 10/28/2013 05:05 PM, Jeffrey Walton wrote:
> What are the canned macros to specify ASLR (-fPIE/-pie for a program;
> -fPIC/-shared for shared objects), Fortified Sources
> (-DFORTIFY_SOURCE), Stack Protector (-fstack-protector-all and --param
> ssp-buffer-size), NX Stack (-Wl,-z,noexecstack), NX Heap
> (-Wl,-z,noexecheap), GOT hardening (-Wl,-z,relro), PLT hardening
> (-Wl,-z,now)?
> 
> Related: are there canned macros for warning such as -Wall, -Wextra,
> and -Wconversion?

Autoconf itself does not provide any canned macro for these
(gcc-specific) flags; but you may be interested in gnulib's manywarnings
module.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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