summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-01-04 12:39:55 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-01-04 15:47:20 +0100
commitcad4b8b07385ced3a4caaa6d380b25f7d69e295b (patch)
treef6e658584fe8ea84c7fb32618c7205fd069dc5a8
parentdac31c454cbc12378f20d95322e8dc934eacc90d (diff)
downloadptxdist-cad4b8b07385ced3a4caaa6d380b25f7d69e295b.tar.gz
ptxdist-cad4b8b07385ced3a4caaa6d380b25f7d69e295b.tar.xz
perl: use gcc as linker
Otherwise compiling fails with bsd_glob.c:(.text+0x12d8): undefined reference to `__stack_chk_fail_local' When stack protection is enabled. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/perl.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/perl.make b/rules/perl.make
index 91c6d248e..2f45bac1d 100644
--- a/rules/perl.make
+++ b/rules/perl.make
@@ -56,7 +56,8 @@ PERL_CONF_TOOL := autoconf
PERL_CONF_OPT := \
--prefix=/usr \
$(CROSS_AUTOCONF_ARCH) \
- --target=$(PTXCONF_GNU_TARGET)
+ --target=$(PTXCONF_GNU_TARGET) \
+ --set-ld=$(CROSS_CC)
PERL_MAKE_PAR := NO