[Buildroot] [PATCH] poppler: fix sparc compilation error

Waldemar Brodkorb wbx at openadk.org
Fri May 25 17:36:07 UTC 2018


Fixes:
  http://autobuild.buildroot.net/results/64a96663a48ab644bc03c9a3ec2d6a644119dee6
  http://autobuild.buildroot.net/results/82e85e12478fc1972b70ad728ed7c1554920c9e3

Signed-off-by: Waldemar Brodkorb <wbx at openadk.org>
---
 package/poppler/poppler.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
index 5946cbe..6223bf1 100644
--- a/package/poppler/poppler.mk
+++ b/package/poppler/poppler.mk
@@ -94,6 +94,9 @@ POPPLER_CONF_OPTS += --enable-poppler-qt5
 ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
 POPPLER_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
 endif
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+POPPLER_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -latomic"
+endif
 else
 POPPLER_CONF_OPTS += --disable-poppler-qt5
 endif
-- 
2.1.4



More information about the buildroot mailing list