diff options
Diffstat (limited to 'recipes/flac/flac_1.1.2.bb')
-rw-r--r-- | recipes/flac/flac_1.1.2.bb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/flac/flac_1.1.2.bb b/recipes/flac/flac_1.1.2.bb new file mode 100644 index 0000000000..69eb07125e --- /dev/null +++ b/recipes/flac/flac_1.1.2.bb @@ -0,0 +1,13 @@ +require flac.inc + +PR = "r6" + +do_configure_append () { + # 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_append () { + install -m 0644 ${S}/include/FLAC/callback.h ${STAGING_INCDIR}/FLAC/callback.h +} |