diff mbox

[oe,meta-oe,3/3] popplet: Disable PIE, it does not compile

Message ID 20161216035947.18909-3-raj.khem@gmail.com
State Accepted
Commit e0d4e8f46ebd8d0885e7328b87cbb5c9fb8540b5
Headers show

Commit Message

Khem Raj Dec. 16, 2016, 3:59 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-support/poppler/poppler_0.49.0.bb | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.10.2

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox

Patch

diff --git a/meta-oe/recipes-support/poppler/poppler_0.49.0.bb b/meta-oe/recipes-support/poppler/poppler_0.49.0.bb
index ebb16d6..e8f8e65 100644
--- a/meta-oe/recipes-support/poppler/poppler_0.49.0.bb
+++ b/meta-oe/recipes-support/poppler/poppler_0.49.0.bb
@@ -27,6 +27,12 @@  PACKAGECONFIG[nss] = "--enable-libnss,--disable-libnss,nss"
 # Needed for qt5
 CXXFLAGS += "--std=c++11"
 
+#| /usr/src/debug/glibc/2.25-r0/git/csu/elf-init.c:87: undefined reference to `__init_array_end'
+#| /usr/src/debug/glibc/2.25-r0/git/csu/elf-init.c:87: undefined reference to `__init_array_start'
+#| /mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/6.2.0/ld: .libs/libpoppler.so.65.0.0: hidden symbol `__init_array_end' isn't defined 
+
+SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"
+
 EXTRA_OECONF = "\
     --enable-xpdf-headers \
     --disable-gtk-test \