(svn r18451) -Fix (r18360): LDFLAGS could contain different compiler flags than CFLAGS when compiling strgen (Rubidium)

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
smatz 15 years ago
parent 826fad03fb
commit 30abc4fe7d

@ -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

Loading…
Cancel
Save