Build on qemuarmv5 failed:
...
|poppler-0.79.0/splash/SplashFont.h:69:36: error: passing '    const
SplashCoord' {aka 'const FixedPoint'} as 'this' argument discards
qualifiers [-fpermissive]
...

Compile with -fpermissive to workaround error with warning

Signed-off-by: Hongxu Jia <[email protected]>
---
 meta-oe/recipes-support/poppler/poppler_0.79.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/poppler/poppler_0.79.0.bb 
b/meta-oe/recipes-support/poppler/poppler_0.79.0.bb
index b285eec..7a5ec13 100644
--- a/meta-oe/recipes-support/poppler/poppler_0.79.0.bb
+++ b/meta-oe/recipes-support/poppler/poppler_0.79.0.bb
@@ -28,6 +28,8 @@ inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt5', 
'cmake_qt5', '', d)}
 
 SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"
 
+CXXFLAGS_append_armv5 = " -fpermissive"
+
 EXTRA_OECMAKE += " \
     -DENABLE_CMS=lcms2 \
     -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
-- 
2.7.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to