gst-libav: fix x86_64-musl build (work around gcc bug)
This commit is contained in:
parent
33b6c28d72
commit
e5cc4e0019
1 changed files with 8 additions and 0 deletions
|
@ -27,3 +27,11 @@ pre_configure() {
|
||||||
# Fix cross compiling for arm* where os=linuxeabihf
|
# Fix cross compiling for arm* where os=linuxeabihf
|
||||||
sed -i ${wrksrc}/gst-libs/ext/libav/configure -e "s;linux);linux*);"
|
sed -i ${wrksrc}/gst-libs/ext/libav/configure -e "s;linux);linux*);"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_configure() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
x86_64-musl) # compiling with -O3 triggers a gcc bug
|
||||||
|
sed -i 's/-O3/-O2/g' gst-libs/ext/libav/config.mak
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue