[OE-core] [PATCH] libpcre: set BUILD_CFLAGS

Martin Jansa martin.jansa at gmail.com
Mon Jan 7 16:15:36 UTC 2013


On Mon, Jan 07, 2013 at 10:16:47AM +0100, Giuseppe CONDORELLI wrote:
> Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to set
> CFLAG_FOR_BUILD, required for the libpcre build.

CFLAG_FOR_BUILD typo in commit body and comment in recipe and please change 
subject to indicate that you're _changing_  BUILD_CFLAGS and
BUILD_CPPFLAGS value.

> Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli at st.com>
> ---
>  meta/recipes-support/libpcre/libpcre_8.32.bb |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-support/libpcre/libpcre_8.32.bb b/meta/recipes-support/libpcre/libpcre_8.32.bb
> index e434d55..361e9f0 100644
> --- a/meta/recipes-support/libpcre/libpcre_8.32.bb
> +++ b/meta/recipes-support/libpcre/libpcre_8.32.bb
> @@ -34,8 +34,9 @@ EXTRA_OECONF = "\
>      --with-match-limit=10000000 \
>  "
>  
> -BUILD_CPPFLAGS += "-DLINK_SIZE=2"
> -BUILD_CFLAGS =+ "-I${S}/include"
> +# Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to
> +# set CFLAG_FOR_BUILD, required for the libpcre build.
> +BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${S}/include"
>  CFLAGS += "-D_REENTRANT"
>  CXXFLAGS_append_powerpc = " -lstdc++"
>  
> -- 
> 1.7.7.6
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130107/0ef19c91/attachment-0002.sig>


More information about the Openembedded-core mailing list