From: Chris Larson Date: Wed, 19 May 2010 19:40:11 +0000 (-0700) Subject: cherokee: use the bitbake BUILD_CC variable rather than the exported shell variable X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd80fc5482cf3556b2294646fbc835b2439fcf52;p=openembedded.git cherokee: use the bitbake BUILD_CC variable rather than the exported shell variable Signed-off-by: Chris Larson --- diff --git a/recipes/cherokee/cherokee_0.4.29.bb b/recipes/cherokee/cherokee_0.4.29.bb index f1c3cfc718..cda191a7af 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 30807ba963..ab8fb99c9f 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 98c6c885a8..18f2529ff3 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