x265: fix cross arm*
This commit is contained in:
parent
5510a252f9
commit
c46b26fbfa
|
@ -18,6 +18,12 @@ if [ -n "$CROSS_BUILD" ]; then
|
||||||
configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=${CROSS_BUILD%-musl}"
|
configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=${CROSS_BUILD%-musl}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
|
sed -i CMakeLists.txt -e "s; -mcpu=native;;"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
x265-devel_package() {
|
x265-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Reference in New Issue