summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-04-30 02:42:24 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2011-04-29 21:08:55 +0200
commit1e2b88cbc42ad6a461a3a65de1261615cb966977 (patch)
tree6866e270e232b7c0d257ccfcf981f1fee09545d6 /meta-oe
parentc33ec1e9af2731765802e1004c5e533d017a2353 (diff)
downloadmeta-openembedded-1e2b88cbc42ad6a461a3a65de1261615cb966977.tar.gz
proxy-libintl_20100902.bb: Specify -fPIC in CFLAGS
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> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb4
1 files changed, 2 insertions, 2 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 7c433bd73..f125fb57f 100644
--- a/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
+++ b/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
@@ -4,7 +4,7 @@ SECTION = "libs"
4LICENSE = "LGPLv2" 4LICENSE = "LGPLv2"
5LIC_FILES_CHKSUM = "file://src/proxy-libintl/COPYING.LIB.txt;md5=bc400bc21422f9a92e76ec2c5167ca2e" 5LIC_FILES_CHKSUM = "file://src/proxy-libintl/COPYING.LIB.txt;md5=bc400bc21422f9a92e76ec2c5167ca2e"
6 6
7PR = "r0" 7PR = "r1"
8PROVIDES = "virtual/libintl virtual/gettext" 8PROVIDES = "virtual/libintl virtual/gettext"
9 9
10SRC_URI = " \ 10SRC_URI = " \
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "291ac350cc5eb4a01b0d651ca99fae64cee8a1c06b2005277fab5a4356
16S = "${WORKDIR}" 16S = "${WORKDIR}"
17FILES_${PN}-dev = "${includedir}/libintl.h ${libdir}/libintl.a" 17FILES_${PN}-dev = "${includedir}/libintl.h ${libdir}/libintl.a"
18 18
19CFLAGS_append = " -Wall -I ../../include ${@['-DSTUB_ONLY', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']}" 19CFLAGS_append = " -fPIC -Wall -I ../../include ${@['-DSTUB_ONLY', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']}"
20TARGET_CC_ARCH += "${LDFLAGS}" 20TARGET_CC_ARCH += "${LDFLAGS}"
21 21
22do_compile() { 22do_compile() {