summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 5a626b2..5505245 100755
--- a/configure
+++ b/configure
@@ -678,6 +678,10 @@ check_yasm(){
check_cmd $yasmexe $YASMFLAGS "$@" -o $TMPO $TMPS
}
+ld_o(){
+ eval printf '%s\\n' $LD_O
+}
+
check_ld(){
log check_ld "$@"
flags=''
@@ -688,7 +692,7 @@ check_ld(){
check_cc $($cflags_filter $flags) || return
flags=$($ldflags_filter $flags)
libs=$($ldflags_filter $libs)
- check_cmd $ld $LDFLAGS $flags -o $TMPE $TMPO $libs $extralibs
+ check_cmd $ld $LDFLAGS $flags $(ld_o $TMPE) $TMPO $libs $extralibs
}
check_code(){
OpenPOWER on IntegriCloud