Makefile: make it possible to compile with gcc link-time optimization
commit5fe847e59093ca4b198a3d11c7da98642456e46e
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 1 Mar 2017 02:48:01 +0000 (28 18:48 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 1 Mar 2017 02:48:01 +0000 (28 18:48 -0800)
treea7371a18a189dd3fb95ef3025382de23876bff1c
parent2d6a3101f9804427534ed2e607294b22e4a5ed98
Makefile: make it possible to compile with gcc link-time optimization

Put in the necessary machinery to compile with gcc link-time
optimization.  This means compiling and linking with -flto, as well as
using gcc-ar and gcc-ranlib instead of the normal tools.

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