summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-09-29 14:24:35 +0200
committerHendrik Leppkes <h.leppkes@gmail.com>2015-09-29 14:24:35 +0200
commit071f6edb985de38e9e7b6e28e710a08f7294e8ba (patch)
tree1492228ad626fc2af5b3783ca30cee8460d7ec2c /configure
parent4d9b78a875b2c8047323c775375d31ee924f8b23 (diff)
parent678f788fea3380e5cbbf75baac5cc0ce07a56a42 (diff)
Merge commit '678f788fea3380e5cbbf75baac5cc0ce07a56a42'
* commit '678f788fea3380e5cbbf75baac5cc0ce07a56a42': configure: Set the initial ldflags to match the cflags Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index b572d598d4..01f17977e5 100755
--- a/configure
+++ b/configure
@@ -4199,6 +4199,7 @@ fi
if [ "$cpu" != generic ]; then
add_cflags $cpuflags
add_asflags $cpuflags
+ test "$cc_type" = "$ld_type" && add_ldflags $cpuflags
fi
# compiler sanity check