aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Domenech Goulart <mario@ossystems.com.br>2009-07-19 12:33:56 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-28 14:20:08 +0100
commitfd8f496ff497fd24492b24fe9f94be1cf3171ac9 (patch)
treebf3acd82062aa022466369b1106c3f5413724c82
parent2b26713bdc46597200e73327de01a77446d6c758 (diff)
downloadopenembedded-fd8f496ff497fd24492b24fe9f94be1cf3171ac9.tar.gz
-fPIC for libgpg-error's CFLAGS
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes/libgpg-error/libgpg-error.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/libgpg-error/libgpg-error.inc b/recipes/libgpg-error/libgpg-error.inc
index 400c1668a6..6b6249c2c6 100644
--- a/recipes/libgpg-error/libgpg-error.inc
+++ b/recipes/libgpg-error/libgpg-error.inc
@@ -8,7 +8,7 @@ DEPENDS += "virtual/libiconv"
SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.gz \
file://pkgconfig.patch;patch=1"
-INC_PR = "r6"
+INC_PR = "r7"
# move libgpg-error-config into -dev package
FILES_${PN} = "${libdir}/lib*.so.*"
@@ -16,6 +16,8 @@ FILES_${PN}-dev += "${bindir}/*"
inherit autotools binconfig pkgconfig gettext
+CFLAGS += "-fPIC"
+
do_stage() {
oe_libinstall -a -so -C src libgpg-error ${STAGING_LIBDIR}
install -d ${STAGING_BINDIR_CROSS}/