summaryrefslogtreecommitdiff
path: root/classes/cpan.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/cpan.bbclass')
-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 () {