configure.ac: make possible to compile with -ffunction/data-sections
commit0c36965335e39d1d03cfd1be3edf5d04002ebcce
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 1 Mar 2017 03:34:36 +0000 (28 19:34 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 1 Mar 2017 03:34:36 +0000 (28 19:34 -0800)
tree98ae8be074b0b26a57ab98dc02e999a2a9abf8b9
parent9b935a0ea838595f1dd10e8fdb50f18c9b7a6c76
configure.ac: make possible to compile with -ffunction/data-sections

The -ffunction-sections and -fdata-sections, if supported, can enable
the linker to do some amount of dead code elimination.  Basically a
very basic form of LTO.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
configure.ac