Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/3] proxy-libintl_20100902.bb: Specify -fPIC in CFLAGS
@ 2011-04-28 23:31 raj.khem
  2011-04-28 23:31 ` [meta-oe][PATCH 2/3] xcb-proto: Add recipe for version 1.6 raj.khem
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: raj.khem @ 2011-04-28 23:31 UTC (permalink / raw)
  To: openembedded-devel

From: Khem Raj <raj.khem@gmail.com>

Some architectures like mips become upset if you
try to link non-pic libraries to shared objects
some generate pic by default so it does not matter
Specifying -fPIC on commandline should make all happy

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../proxy-libintl/proxy-libintl_20100902.bb        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb b/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
index 7c433bd..548e656 100644
--- a/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
+++ b/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "291ac350cc5eb4a01b0d651ca99fae64cee8a1c06b2005277fab5a4356
 S = "${WORKDIR}"
 FILES_${PN}-dev = "${includedir}/libintl.h ${libdir}/libintl.a"
 
-CFLAGS_append = " -Wall -I ../../include ${@['-DSTUB_ONLY', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']}"
+CFLAGS_append = " -fPIC -Wall -I ../../include ${@['-DSTUB_ONLY', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']}"
 TARGET_CC_ARCH += "${LDFLAGS}"
 
 do_compile() {
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-29  6:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 23:31 [meta-oe][PATCH 1/3] proxy-libintl_20100902.bb: Specify -fPIC in CFLAGS raj.khem
2011-04-28 23:31 ` [meta-oe][PATCH 2/3] xcb-proto: Add recipe for version 1.6 raj.khem
2011-04-28 23:31 ` [meta-oe][PATCH 3/3] libx11_1.4.3.bb: Remove --without-xcb raj.khem
2011-04-29  6:49 ` [meta-oe][PATCH 1/3] proxy-libintl_20100902.bb: Specify -fPIC in CFLAGS Koen Kooi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox