diff options
Diffstat (limited to 'meta/packages/flac')
| -rw-r--r-- | meta/packages/flac/flac_1.1.2.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/packages/flac/flac_1.1.2.bb b/meta/packages/flac/flac_1.1.2.bb index 293455f2e1..85ffc9beb9 100644 --- a/meta/packages/flac/flac_1.1.2.bb +++ b/meta/packages/flac/flac_1.1.2.bb | |||
| @@ -7,7 +7,7 @@ PR = "r5" | |||
| 7 | SRC_URI = "${SOURCEFORGE_MIRROR}/flac/flac-${PV}.tar.gz \ | 7 | SRC_URI = "${SOURCEFORGE_MIRROR}/flac/flac-${PV}.tar.gz \ |
| 8 | file://disable-xmms-plugin.patch;patch=1 \ | 8 | file://disable-xmms-plugin.patch;patch=1 \ |
| 9 | file://xmms.m4" | 9 | file://xmms.m4" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/flac-${PV}" | 11 | S = "${WORKDIR}/flac-${PV}" |
| 12 | 12 | ||
| 13 | inherit autotools | 13 | inherit autotools |
| @@ -31,6 +31,9 @@ do_configure () { | |||
| 31 | install -d ${S}/m4 | 31 | install -d ${S}/m4 |
| 32 | install -m 0644 ${WORKDIR}/xmms.m4 ${S}/m4/ | 32 | install -m 0644 ${WORKDIR}/xmms.m4 ${S}/m4/ |
| 33 | autotools_do_configure | 33 | autotools_do_configure |
| 34 | # removes '-read-only-relocs' which is enabled for PowerPC builds. | ||
| 35 | # It makes the build fail, other archs are not affected. Fixes #1775. | ||
| 36 | sed -i 's/-Wl,-read_only_relocs,warning//g' src/libFLAC/Makefile | ||
| 34 | } | 37 | } |
| 35 | 38 | ||
| 36 | do_stage () { | 39 | do_stage () { |
| @@ -39,7 +42,7 @@ do_stage () { | |||
| 39 | oe_libinstall -a -so -C src/libOggFLAC libOggFLAC ${STAGING_LIBDIR}/ | 42 | oe_libinstall -a -so -C src/libOggFLAC libOggFLAC ${STAGING_LIBDIR}/ |
| 40 | install -d ${STAGING_INCDIR}/OggFLAC | 43 | install -d ${STAGING_INCDIR}/OggFLAC |
| 41 | install -m 0644 ${S}/include/OggFLAC/export.h ${STAGING_INCDIR}/OggFLAC/export.h | 44 | install -m 0644 ${S}/include/OggFLAC/export.h ${STAGING_INCDIR}/OggFLAC/export.h |
| 42 | 45 | ||
| 43 | install -m 0644 ${S}/include/OggFLAC/all.h ${STAGING_INCDIR}/OggFLAC/all.h | 46 | install -m 0644 ${S}/include/OggFLAC/all.h ${STAGING_INCDIR}/OggFLAC/all.h |
| 44 | install -m 0644 ${S}/include/OggFLAC/stream_encoder.h ${STAGING_INCDIR}/OggFLAC/stream_encoder.h | 47 | install -m 0644 ${S}/include/OggFLAC/stream_encoder.h ${STAGING_INCDIR}/OggFLAC/stream_encoder.h |
| 45 | install -m 0644 ${S}/include/OggFLAC/stream_decoder.h ${STAGING_INCDIR}/OggFLAC/stream_decoder.h | 48 | install -m 0644 ${S}/include/OggFLAC/stream_decoder.h ${STAGING_INCDIR}/OggFLAC/stream_decoder.h |
