summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-09-28 21:21:31 +0000
committerJamie Lenehan <lenehan@twibble.org>2006-09-28 21:21:31 +0000
commita65ba920e8f634f3d7130291431c86880ace71d5 (patch)
treee3168b47e59e0445a44529e7496f543a5866cf90 /classes
parent6e7162ef3b75528537da5dab0afedb755b5e5497 (diff)
perl: Update cpan.bbclass to set CCFLAGS to CFLAGS so that the compiler
settings for the current OE build are used instead of the made up values in the perl config (which were manually generated since we are cross compiling). Remove this from each of the perl modules that was manually setting this.
Diffstat (limited to 'classes')
-rw-r--r--classes/cpan.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass
index c48bd1a980..0b90e754df 100644
--- a/classes/cpan.bbclass
+++ b/classes/cpan.bbclass
@@ -17,7 +17,7 @@ cpan_do_configure () {
}
cpan_do_compile () {
- oe_runmake PASTHRU_INC="${CFLAGS}"
+ oe_runmake PASTHRU_INC="${CFLAGS}" CCFLAGS="${CFLAGS}"
}
cpan_do_install () {