[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_*/AM_* macros for options
From: |
Jeffrey Walton |
Subject: |
AC_*/AM_* macros for options |
Date: |
Mon, 28 Oct 2013 19:05:33 -0400 |
I'm reading Vaughan, Elliston, Tromey and Taylor's book on Autotools.
At page 22, they list some macros and begin to explain them. The
macros are AC_PROG_CC. AM_PROG_LEX, AC_PROG_YACC, and a few others.
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?
Thanks in advance.
Jeff
- AC_*/AM_* macros for options,
Jeffrey Walton <=
Re: AC_*/AM_* macros for options, Jeffrey Walton, 2013/10/29