All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] poppler: compile with -fpermissive to workaround code diagnostics errors on armv5
@ 2019-08-20  9:36 Hongxu Jia
  2019-08-20 16:30 ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Hongxu Jia @ 2019-08-20  9:36 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

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 <hongxu.jia@windriver.com>
---
 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



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-08-21  1:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-20  9:36 [meta-oe][PATCH] poppler: compile with -fpermissive to workaround code diagnostics errors on armv5 Hongxu Jia
2019-08-20 16:30 ` Khem Raj
2019-08-20 16:44   ` Adrian Bunk
2019-08-20 16:53     ` Khem Raj
2019-08-20 20:11       ` Adrian Bunk
2019-08-21  1:27         ` Hongxu Jia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.