[oe-commits] Chris Larson : cherokee: use the bitbake BUILD_CC variable rather than the exported shell variable

git version control git at git.openembedded.org
Wed May 19 19:54:26 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: dd80fc5482cf3556b2294646fbc835b2439fcf52
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=dd80fc5482cf3556b2294646fbc835b2439fcf52

Author: Chris Larson <chris_larson at mentor.com>
Date:   Wed May 19 12:40:11 2010 -0700

cherokee: use the bitbake BUILD_CC variable rather than the exported shell variable

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 recipes/cherokee/cherokee_0.4.29.bb |    2 +-
 recipes/cherokee/cherokee_0.5.3.bb  |    2 +-
 recipes/cherokee/cherokee_0.5.5.bb  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes/cherokee/cherokee_0.4.29.bb b/recipes/cherokee/cherokee_0.4.29.bb
index f1c3cfc..cda191a 100644
--- a/recipes/cherokee/cherokee_0.4.29.bb
+++ b/recipes/cherokee/cherokee_0.4.29.bb
@@ -23,7 +23,7 @@ do_configure() {
 }
 
 do_install_prepend () {
-	$BUILD_CC -DHAVE_SYS_STAT_H -o cherokee_replace cherokee_replace.c
+	${BUILD_CC} ${BUILD_CFLAGS} -DHAVE_SYS_STAT_H -o cherokee_replace cherokee_replace.c
 }
 
 SRC_URI[md5sum] = "854e6e61a69781746496012658d8ef98"
diff --git a/recipes/cherokee/cherokee_0.5.3.bb b/recipes/cherokee/cherokee_0.5.3.bb
index 30807ba..ab8fb99 100644
--- a/recipes/cherokee/cherokee_0.5.3.bb
+++ b/recipes/cherokee/cherokee_0.5.3.bb
@@ -14,7 +14,7 @@ do_configure() {
 
 do_install_prepend () {
         # It only needs this app during the install, so compile it natively
-        $BUILD_CC -DHAVE_SYS_STAT_H -o cherokee_replace cherokee_replace.c
+        ${BUILD_CC} ${BUILD_CFLAGS} -DHAVE_SYS_STAT_H -o cherokee_replace cherokee_replace.c
 }
 
 SRC_URI[md5sum] = "9e8dfc46f94ee150515be5d31bd40d16"
diff --git a/recipes/cherokee/cherokee_0.5.5.bb b/recipes/cherokee/cherokee_0.5.5.bb
index 98c6c88..18f2529 100644
--- a/recipes/cherokee/cherokee_0.5.5.bb
+++ b/recipes/cherokee/cherokee_0.5.5.bb
@@ -3,7 +3,7 @@ SRC_URI_append = "file://configure.in.patch;patch=1 \
 
 do_install_prepend () {
         # It only needs this app during the install, so compile it natively
-        $BUILD_CC -DHAVE_SYS_STAT_H -o cherokee_replace cherokee_replace.c
+        ${BUILD_CC} ${BUILD_CFLAGS} -DHAVE_SYS_STAT_H -o cherokee_replace cherokee_replace.c
 }
 
 require cherokee.inc





More information about the Openembedded-commits mailing list