summaryrefslogtreecommitdiff
path: root/packages/flac/flac_1.1.2.bb
blob: a671436a4e5896ee81b8bd2dcb99a793ef251fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require flac.inc

FILE_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
}