[oe] [PATCH 1/3] -fPIC for libgpg-error's CFLAGS

Otavio Salvador otavio at ossystems.com.br
Sun Jul 19 22:33:56 UTC 2009


From: Mario Domenech Goulart <mario at ossystems.com.br>

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
 recipes/libgpg-error/libgpg-error.inc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/libgpg-error/libgpg-error.inc b/recipes/libgpg-error/libgpg-error.inc
index 400c166..6b6249c 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}/
-- 
1.6.3.3.385.g60647





More information about the Openembedded-devel mailing list