[OE-core] [PATCH] ghostscript-native: Ensure the sys/time/h fix is applied for native builds

Khem Raj raj.khem at gmail.com
Sat Nov 26 02:39:56 UTC 2011


On Fri, Nov 25, 2011 at 7:06 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> On my system, the sys/time.h header is in a subdir off /usr/include
> which causes a build failure. Apply the target CFLAGS fix to native
> builds as well to address this.

hmmm I thought CFLAGS would be automtically translated with
BBCLASSEXTEND = "native"

>
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> ---
> diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.04.bb b/meta/recipes-extended/ghostscript/ghostscript_9.04.bb
> index d444810..86d5ef2 100644
> --- a/meta/recipes-extended/ghostscript/ghostscript_9.04.bb
> +++ b/meta/recipes-extended/ghostscript/ghostscript_9.04.bb
> @@ -40,6 +40,7 @@ EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec --without-j
>  # http://bugs.ghostscript.com/show_bug.cgi?id=692443
>  # http://bugs.ghostscript.com/show_bug.cgi?id=692426
>  CFLAGS += "-DHAVE_SYS_TIME_H=1"
> +BUILD_CFLAGS += "-DHAVE_SYS_TIME_H=1"
>
>  inherit autotools
>
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




More information about the Openembedded-core mailing list