From e0d4e8f46ebd8d0885e7328b87cbb5c9fb8540b5 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 15 Dec 2016 19:59:47 -0800 Subject: poppler: Disable PIE, it does not compile Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- meta-oe/recipes-support/poppler/poppler_0.49.0.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta-oe/recipes-support/poppler') 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 ebb16d6d68..e8f8e65796 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 \ -- cgit 1.2.3-korg