configure: Set the initial ldflags to match the cflags

Some gcc-based toolchain would fail to link if the abi set by the
cpuflags does not match the default.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
pull/118/merge
Luca Barbato 10 years ago committed by Luca Barbato
parent 1a4c5fe560
commit 678f788fea
  1. 1
      configure

1
configure vendored

@ -3461,6 +3461,7 @@ fi
if [ "$cpu" != generic ]; then
add_cflags $cpuflags
add_asflags $cpuflags
test "$cc_type" = "$ld_type" && add_ldflags $cpuflags
fi
# compiler sanity check

Loading…
Cancel
Save