diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-04-30 02:42:24 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-04-29 21:08:55 +0200 |
commit | 1e2b88cbc42ad6a461a3a65de1261615cb966977 (patch) | |
tree | 6866e270e232b7c0d257ccfcf981f1fee09545d6 /meta-oe | |
parent | c33ec1e9af2731765802e1004c5e533d017a2353 (diff) | |
download | meta-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.bb | 4 |
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" | |||
4 | LICENSE = "LGPLv2" | 4 | LICENSE = "LGPLv2" |
5 | LIC_FILES_CHKSUM = "file://src/proxy-libintl/COPYING.LIB.txt;md5=bc400bc21422f9a92e76ec2c5167ca2e" | 5 | LIC_FILES_CHKSUM = "file://src/proxy-libintl/COPYING.LIB.txt;md5=bc400bc21422f9a92e76ec2c5167ca2e" |
6 | 6 | ||
7 | PR = "r0" | 7 | PR = "r1" |
8 | PROVIDES = "virtual/libintl virtual/gettext" | 8 | PROVIDES = "virtual/libintl virtual/gettext" |
9 | 9 | ||
10 | SRC_URI = " \ | 10 | SRC_URI = " \ |
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "291ac350cc5eb4a01b0d651ca99fae64cee8a1c06b2005277fab5a4356 | |||
16 | S = "${WORKDIR}" | 16 | S = "${WORKDIR}" |
17 | FILES_${PN}-dev = "${includedir}/libintl.h ${libdir}/libintl.a" | 17 | FILES_${PN}-dev = "${includedir}/libintl.h ${libdir}/libintl.a" |
18 | 18 | ||
19 | CFLAGS_append = " -Wall -I ../../include ${@['-DSTUB_ONLY', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']}" | 19 | CFLAGS_append = " -fPIC -Wall -I ../../include ${@['-DSTUB_ONLY', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']}" |
20 | TARGET_CC_ARCH += "${LDFLAGS}" | 20 | TARGET_CC_ARCH += "${LDFLAGS}" |
21 | 21 | ||
22 | do_compile() { | 22 | do_compile() { |