diff options
author | smatz <smatz@openttd.org> | 2009-12-10 00:17:00 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-12-10 00:17:00 +0000 |
commit | 30abc4fe7dc0c3b0eae1540471d167d198dbc070 (patch) | |
tree | 36ad9ba475c9d70571a9eae302539cbf057a9c6e /config.lib | |
parent | 826fad03fb31645bcd0a53e8476e3a7d6cd4cf27 (diff) | |
download | openttd-30abc4fe7dc0c3b0eae1540471d167d198dbc070.tar.xz |
(svn r18451) -Fix (r18360): LDFLAGS could contain different compiler flags than CFLAGS when compiling strgen (Rubidium)
Diffstat (limited to 'config.lib')
-rw-r--r-- | config.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib index 1ddf5f1d1..785427edf 100644 --- a/config.lib +++ b/config.lib @@ -1168,7 +1168,7 @@ make_compiler_cflags() { if [ "$enable_lto" != "0" ] && [ -n "$has_lto" ]; then # Use LTO only if we see LTO exists and is requested flags="$flags -flto" - ldflags="$ldflags -flto $CFLAGS" + ldflags="$ldflags -flto $2" fi fi |