Browse Source

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>
tags/n3.0
Luca Barbato Luca Barbato 10 years ago
parent
commit
678f788fea
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      configure

+ 1
- 0
configure View File

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