summaryrefslogtreecommitdiff
path: root/packages/flac
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2007-01-12 23:21:33 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2007-01-12 23:21:33 +0000
commit166df77a23b560e238d0e7df4065ff638ad8ea52 (patch)
tree97b8b909d281c43eb81f488a6c7c2b9abdfb950f /packages/flac
parentadec66165e1dca377a85aa16979f3048b351344f (diff)
flac: Fix build for powerpc. Closes #1775.
Diffstat (limited to 'packages/flac')
-rw-r--r--packages/flac/flac_1.1.2.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/flac/flac_1.1.2.bb b/packages/flac/flac_1.1.2.bb
index cdd96bbf2d..85ffc9beb9 100644
--- a/packages/flac/flac_1.1.2.bb
+++ b/packages/flac/flac_1.1.2.bb
@@ -31,6 +31,9 @@ do_configure () {
install -d ${S}/m4
install -m 0644 ${WORKDIR}/xmms.m4 ${S}/m4/
autotools_do_configure
+ # removes '-read-only-relocs' which is enabled for PowerPC builds.
+ # It makes the build fail, other archs are not affected. Fixes #1775.
+ sed -i 's/-Wl,-read_only_relocs,warning//g' src/libFLAC/Makefile
}
do_stage () {