From 678f788fea3380e5cbbf75baac5cc0ce07a56a42 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 25 Sep 2015 08:56:25 +0200 Subject: 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 --- configure | 1 + 1 file changed, 1 insertion(+) (limited to 'configure') diff --git a/configure b/configure index 852b931115..381d24a988 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3