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