Skip to content

Commit 1e811f9

Browse files
krajrpurdie
authored andcommitted
libjpeg-turbo: Fix build on mips/clang
(From OE-Core rev: 305072dbde8ec5a4f1d455f7fbfa3a631f9f947f) Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
1 parent 4c9eef3 commit 1e811f9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

meta/recipes-graphics/jpeg/libjpeg-turbo_3.1.0.bb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ EXTRA_OECMAKE:append:class-target:powerpc64le = " ${@bb.utils.contains("TUNE_FEA
4747
DEBUG_OPTIMIZATION:append:armv4 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
4848
DEBUG_OPTIMIZATION:append:armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
4949

50+
# libjpeg-turbo-2.0.2/simd/mips/jsimd_dspr2.S
51+
# <instantiation>:13:5: error: invalid token in expression
52+
# .if $17 != 0
53+
# ^
54+
CFLAGS:append:toolchain-clang:mipsarch = " -fno-integrated-as"
55+
5056
PACKAGES =+ "jpeg-tools libturbojpeg"
5157

5258
DESCRIPTION:jpeg-tools = "The jpeg-tools package includes client programs to access libjpeg functionality. These tools allow for the compression, decompression, transformation and display of JPEG files and benchmarking of the libjpeg library."

0 commit comments

Comments
 (0)