diff options
author | Ross Burton <ross.burton@intel.com> | 2012-11-19 11:22:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-20 15:31:48 +0000 |
commit | 6e6dcbe340c9ee4a4a23318ace3335a004a8d31b (patch) | |
tree | 91f15b422dc5e8ebb847d1f2240b03d3a13e90bc /meta/recipes-multimedia/flac/flac_1.2.1.bb | |
parent | 264ca0fdbe073d1e6b32bead6b7338b6dbc76c9f (diff) | |
download | poky-6e6dcbe340c9ee4a4a23318ace3335a004a8d31b.tar.gz |
flac: fix text relocations
The recent sanity checks were flagging:
ELF binary '.../libFLAC.so.8.2.0' has relocations in .text
This is caused by hand-written assembler being invoked badly. Apply a patch
from upstream git that uses PIC instead of relocations.
[ YOCTO: #3461 ]
(From OE-Core rev: 9b5660ee0e507852a02ba5281b571f3e55dffc18)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/flac/flac_1.2.1.bb')
-rw-r--r-- | meta/recipes-multimedia/flac/flac_1.2.1.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/flac/flac_1.2.1.bb b/meta/recipes-multimedia/flac/flac_1.2.1.bb index 6520b714d8..903de6dc9a 100644 --- a/meta/recipes-multimedia/flac/flac_1.2.1.bb +++ b/meta/recipes-multimedia/flac/flac_1.2.1.bb | |||
@@ -14,13 +14,14 @@ LIC_FILES_CHKSUM = "file://COPYING.FDL;md5=ad1419ecc56e060eccf8184a87c4285f \ | |||
14 | file://include/FLAC/all.h;beginline=64;endline=69;md5=64474f2b22e9e77b28d8b8b25c983a48" | 14 | file://include/FLAC/all.h;beginline=64;endline=69;md5=64474f2b22e9e77b28d8b8b25c983a48" |
15 | DEPENDS = "libogg" | 15 | DEPENDS = "libogg" |
16 | 16 | ||
17 | PR = "r2" | 17 | PR = "r3" |
18 | 18 | ||
19 | SRC_URI = "${SOURCEFORGE_MIRROR}/flac/flac-${PV}.tar.gz \ | 19 | SRC_URI = "${SOURCEFORGE_MIRROR}/flac/flac-${PV}.tar.gz \ |
20 | file://disable-xmms-plugin.patch \ | 20 | file://disable-xmms-plugin.patch \ |
21 | file://flac-gcc43-fixes.patch \ | 21 | file://flac-gcc43-fixes.patch \ |
22 | file://xmms.m4 \ | 22 | file://xmms.m4 \ |
23 | file://0001-No-AltiVec-on-SPE.patch" | 23 | file://0001-No-AltiVec-on-SPE.patch \ |
24 | file://asm-pic.patch" | ||
24 | 25 | ||
25 | SRC_URI[md5sum] = "153c8b15a54da428d1f0fadc756c22c7" | 26 | SRC_URI[md5sum] = "153c8b15a54da428d1f0fadc756c22c7" |
26 | SRC_URI[sha256sum] = "9635a44bceb478bbf2ee8a785cf6986fba525afb5fad1fd4bba73cf71f2d3edf" | 27 | SRC_URI[sha256sum] = "9635a44bceb478bbf2ee8a785cf6986fba525afb5fad1fd4bba73cf71f2d3edf" |