From 166df77a23b560e238d0e7df4065ff638ad8ea52 Mon Sep 17 00:00:00 2001 From: Leon Woestenberg Date: Fri, 12 Jan 2007 23:21:33 +0000 Subject: flac: Fix build for powerpc. Closes #1775. --- packages/flac/flac_1.1.2.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/flac') 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 () { -- cgit v1.2.3