diff options
author | Jack Mitchell <jack@embed.me.uk> | 2016-09-07 12:20:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-08 00:31:58 +0100 |
commit | e544ca08a2bcb5a8d98671e63f6c8b7b21c562ea (patch) | |
tree | e745d4bc33acec018e9f8c2bcd17dddba9329837 /meta/recipes-devtools/file | |
parent | 06ddde2a986dc94962edb20cfbbb9b1e2f0977a8 (diff) | |
download | openembedded-core-e544ca08a2bcb5a8d98671e63f6c8b7b21c562ea.tar.gz openembedded-core-e544ca08a2bcb5a8d98671e63f6c8b7b21c562ea.tar.bz2 openembedded-core-e544ca08a2bcb5a8d98671e63f6c8b7b21c562ea.zip |
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.
Signed-off-by: Jack Mitchell <jack@embed.me.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/file')
-rw-r--r-- | meta/recipes-devtools/file/file_5.28.bb | 2 |
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 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=c99" + FILES_${PN} += "${datadir}/misc/*.mgc" do_install_append_class-native() { |