[OE-core] [PATCH] file: specify c std as c99 or greater required

Khem Raj raj.khem at gmail.com
Tue Sep 6 18:36:45 UTC 2016


> On Sep 6, 2016, at 6:25 AM, Jack Mitchell <ml at embed.me.uk> wrote:
> 
> From: Jack Mitchell <jack at embed.me.uk>
> 
> when using a toolchain not shipped by OE core such as linaro we
> can't be sure what the std will be set to. Ensure file is compiled
> as c99 or greater as required.

comment does not match the code, its using gnu11, secondly is gnu11 needed or can it live with
c11

> 
> Signed-off-by: Jack Mitchell <jack at embed.me.uk>
> ---
> meta/recipes-devtools/file/file_5.28.bb | 2 ++
> 1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-devtools/file/file_5.28.bb b/meta/recipes-devtools/file/file_5.28.bb
> index 516c8c5..94848db 100644
> --- a/meta/recipes-devtools/file/file_5.28.bb
> +++ b/meta/recipes-devtools/file/file_5.28.bb
> @@ -27,6 +27,8 @@ inherit autotools
> EXTRA_OEMAKE_append_class-target = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file"
> EXTRA_OEMAKE_append_class-nativesdk = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file"
> 
> +CFLAGS_append = " -std=gnu11"
> +
> FILES_${PN} += "${datadir}/misc/*.mgc"
> 
> do_install_append_class-native() {
> --
> 2.9.3
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160906/fd0e67a4/attachment-0002.sig>


More information about the Openembedded-core mailing list