mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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>
This commit is contained in:
@@ -4,7 +4,7 @@ SECTION = "libs"
|
||||
LICENSE = "LGPLv2"
|
||||
LIC_FILES_CHKSUM = "file://src/proxy-libintl/COPYING.LIB.txt;md5=bc400bc21422f9a92e76ec2c5167ca2e"
|
||||
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
PROVIDES = "virtual/libintl virtual/gettext"
|
||||
|
||||
SRC_URI = " \
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user