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>
This commit is contained in:
parent
1a4c5fe560
commit
678f788fea
1 changed files with 1 additions and 0 deletions
1
configure
vendored
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…
Add table
Add a link
Reference in a new issue