cherokee: use the bitbake BUILD_CC variable rather than the exported shell variable
authorChris Larson <chris_larson@mentor.com>
Wed, 19 May 2010 19:40:11 +0000 (12:40 -0700)
committerChris Larson <chris_larson@mentor.com>
Wed, 19 May 2010 19:53:49 +0000 (12:53 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
recipes/cherokee/cherokee_0.4.29.bb
recipes/cherokee/cherokee_0.5.3.bb
recipes/cherokee/cherokee_0.5.5.bb

index f1c3cfc..cda191a 100644 (file)
@@ -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"
index 30807ba..ab8fb99 100644 (file)
@@ -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"
index 98c6c88..18f2529 100644 (file)
@@ -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