summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorJack Mitchell <jack@embed.me.uk>2016-09-07 12:20:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-08 00:32:43 +0100
commit144e7dbc35e420ed5b591fbdb705bcc73d3634e1 (patch)
tree6248f42bb0b5abfaa0c9332c5ac3a6ed773d5aca /meta/recipes-devtools
parent9d4fd7de16f6c4be4da545fc6d6a96f8ac154368 (diff)
downloadpoky-144e7dbc35e420ed5b591fbdb705bcc73d3634e1.tar.gz
file: build with c std as c99
when using a toolchain not shipped by OE core such as linaro we can't be sure what the std will be set to. Set to compile as c99 which is the lowest version supported. (From OE-Core rev: e544ca08a2bcb5a8d98671e63f6c8b7b21c562ea) Signed-off-by: Jack Mitchell <jack@embed.me.uk> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/file/file_5.28.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/file/file_5.28.bb b/meta/recipes-devtools/file/file_5.28.bb
index 516c8c55be..e64a89c804 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
27EXTRA_OEMAKE_append_class-target = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file" 27EXTRA_OEMAKE_append_class-target = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file"
28EXTRA_OEMAKE_append_class-nativesdk = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file" 28EXTRA_OEMAKE_append_class-nativesdk = "-e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file"
29 29
30CFLAGS_append = " -std=c99"
31
30FILES_${PN} += "${datadir}/misc/*.mgc" 32FILES_${PN} += "${datadir}/misc/*.mgc"
31 33
32do_install_append_class-native() { 34do_install_append_class-native() {