[oe-commits] org.oe.dev cpan: Use CCLD for the linking instead of ${TARGET_SYS}-gcc. Without this
lenehan commit
openembedded-commits at lists.openembedded.org
Fri Apr 27 02:33:53 UTC 2007
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.
Author: lenehan at openembedded.org
Branch: org.openembedded.dev
Revision: a1a53de4dc6cdab69af325b6a2615e1c4b40caad
ViewMTN: http://monotone.openembedded.org/revision.psp?id=a1a53de4dc6cdab69af325b6a2615e1c4b40caad
Files:
1
classes/cpan.bbclass
Diffs:
#
# mt diff -r6e67e0422c1144f52745fea8c08545380833ef4c -ra1a53de4dc6cdab69af325b6a2615e1c4b40caad
#
#
#
# patch "classes/cpan.bbclass"
# from [059ed12d7dc02d4badd19c970c172fe198812095]
# to [d09dc33e6742a5205337eab16edb0ab7da321296]
#
============================================================
--- classes/cpan.bbclass 059ed12d7dc02d4badd19c970c172fe198812095
+++ classes/cpan.bbclass d09dc33e6742a5205337eab16edb0ab7da321296
@@ -68,7 +68,7 @@ cpan_do_compile () {
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=""
More information about the Openembedded-commits
mailing list