diff options
author | Armin Kuster <akuster808@gmail.com> | 2020-08-31 08:13:09 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2020-08-31 08:36:08 -0700 |
commit | 6a8d6ddc549638bed6dbf1d91df146b8a69ca589 (patch) | |
tree | 3c796c5d412601eb47e0091202e8dc241018bf0d /meta-gnome/recipes-gimp | |
parent | eec787e19bca513726f9fdcb8a0275101a00c93a (diff) | |
download | meta-openembedded-6a8d6ddc549638bed6dbf1d91df146b8a69ca589.tar.gz |
babl-native: fix build issue
../babl-0.1.74/babl/babl-fish-reference.c:1064:7: error: ‘for’ loop initial declarations are only allowed in C99 mode
| for (int i = 0; i < n; i++)
| ^
| ../babl-0.1.74/babl/babl-fish-reference.c:1064:7: note: use option -std=c99 or -std=gnu99 to compile your code
Fails on CentOS7 with Arch64
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-gimp')
-rw-r--r-- | meta-gnome/recipes-gimp/babl/babl_0.1.74.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gimp/babl/babl_0.1.74.bb b/meta-gnome/recipes-gimp/babl/babl_0.1.74.bb index c470987b4f..9b405be0b3 100644 --- a/meta-gnome/recipes-gimp/babl/babl_0.1.74.bb +++ b/meta-gnome/recipes-gimp/babl/babl_0.1.74.bb @@ -10,6 +10,8 @@ inherit setuptools3 gnomebase gobject-introspection DEPENDS += "lcms" +CFLAGS_append_class-native = " -std=gnu99" + # https://bugs.llvm.org/show_bug.cgi?id=45555 CFLAGS_append_toolchain-clang_mipsarch = " -ffp-exception-behavior=ignore " CFLAGS_append_toolchain-clang_riscv64 = " -ffp-exception-behavior=ignore " |