summaryrefslogtreecommitdiff
path: root/packages/flac/flac_1.1.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/flac/flac_1.1.2.bb')
-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 () {