diff options
author | Jamie Lenehan <lenehan@twibble.org> | 2007-04-27 02:22:26 +0000 |
---|---|---|
committer | Jamie Lenehan <lenehan@twibble.org> | 2007-04-27 02:22:26 +0000 |
commit | 3cc9d5463dac0412d5591b506e308f3e9cde0494 (patch) | |
tree | 076389f0b6fafb35bb934f59da1112b53f14c080 | |
parent | d36cfdf760300d86a03390e7db6d7ef6e363706a (diff) |
cpan: Use CCLD for the linking instead of ${TARGET_SYS}-gcc. Without this
native packages break because <buildarch>-gcc doesn't exist, just gcc. CCLD
gets us the correct CC to be used for linking in both cases, so we use that.
-rw-r--r-- | classes/cpan.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass index 52430560ea..00709f7e18 100644 --- a/classes/cpan.bbclass +++ b/classes/cpan.bbclass @@ -68,7 +68,7 @@ cpan_do_configure () { cpan_do_compile () { if [ "${IS_NEW_PERL}" = "yes" ]; then - oe_runmake PASTHRU_INC="${CFLAGS}" CCFLAGS="${CFLAGS}" LD=${TARGET_SYS}-gcc + oe_runmake PASTHRU_INC="${CFLAGS}" CCFLAGS="${CFLAGS}" LD="${CCLD}" else # You must use gcc to link on sh OPTIONS="" |