Changeset - r16916:f40425eff05d
[Not reviewed]
master
0 1 0
smatz - 14 years ago 2010-12-29 20:20:41
smatz@openttd.org
(svn r21661) -Codechange: use -fwhole-program when linking in LTO mode so compiler can do more optimisations
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -1296,6 +1296,7 @@ make_compiler_cflags() {
 
			if [ -n "$has_lto" ]; then
 
				# Use LTO only if we see LTO exists and is requested
 
				flags="$flags -flto"
 
				ldflags="$ldflags -fwhole-program"
 
				features="$features lto"
 
			fi
 
		fi
0 comments (0 inline, 0 general)