Commit 2763587c authored by Mans Rullgard's avatar Mans Rullgard

configure: probe_cc: use separate variable for linker output flag

Some tools use different command line syntax for specifying output
when compiling and linking.  To accomodate these, separate variables
must be used.  No currently supported compilers/linkers are affected
by the change.
Signed-off-by: default avatarMans Rullgard <>
parent 2e6f93a2
......@@ -2129,7 +2129,7 @@ probe_cc(){
unset _type _ident _cc_c _cc_e _cc_o _flags _cflags _ldflags
unset _type _ident _cc_c _cc_e _cc_o _ld_o _flags _cflags _ldflags
unset _depflags _DEPCMD _DEPFLAGS
......@@ -2291,7 +2291,7 @@ probe_cc ld "$ld"
add_ldflags $_flags $_ldflags
test "$cc_type" != "$ld_type" && add_ldflags $cc_ldflags
if [ -z "$CC_DEPFLAGS" ] && [ "$dep_cc" != "$cc" ]; then
probe_cc depcc "$dep_cc"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment