From: Darrick J. Wong Date: Tue, 30 Oct 2018 21:50:28 +0000 (-0500) Subject: misc: only build with lto if explicitly enabled X-Git-Tag: v4.19.0-rc1~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d18ae0e7ce4e2f479eb2969633a85faa7d7d5287;p=thirdparty%2Fxfsprogs-dev.git misc: only build with lto if explicitly enabled Change the LTO default to off from probe because it wastes build time on developer machines. Anyone who really wants it for release builds or whatever can still turn it on. Signed-off-by: Darrick J. Wong Reviewed-by: Dave Chinner Signed-off-by: Eric Sandeen --- diff --git a/configure.ac b/configure.ac index 2448416ca..38e5426a3 100644 --- a/configure.ac +++ b/configure.ac @@ -91,8 +91,8 @@ AC_ARG_ENABLE(threadsan, AC_SUBST(enable_threadsan) AC_ARG_ENABLE(lto, -[ --enable-lto=[yes/no] Enable link time optimization (LTO) [default=probe]],, - enable_lto=probe) +[ --enable-lto=[yes/no] Enable link time optimization (LTO) [default=no]],, + enable_lto=no) AC_SUBST(enable_lto) # Enable xfs_scrub build