mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
eec787e19b
commit
6a8d6ddc54
|
|
@ -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 "
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user