git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d36cfdf
)
cpan: Use CCLD for the linking instead of ${TARGET_SYS}-gcc. Without this
author
Jamie Lenehan
<lenehan@twibble.org>
Fri, 27 Apr 2007 02:22:26 +0000
(
02:22
+0000)
committer
Jamie Lenehan
<lenehan@twibble.org>
Fri, 27 Apr 2007 02:22:26 +0000
(
02:22
+0000)
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.
classes/cpan.bbclass
patch
|
blob
|
history
diff --git
a/classes/cpan.bbclass
b/classes/cpan.bbclass
index
5243056
..
00709f7
100644
(file)
--- 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=""