mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-25 23:12:57 +02:00
x265: fix cross arm*
This commit is contained in:
parent
5510a252f9
commit
c46b26fbfa
1 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,12 @@ if [ -n "$CROSS_BUILD" ]; then
|
|||
configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=${CROSS_BUILD%-musl}"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
sed -i CMakeLists.txt -e "s; -mcpu=native;;"
|
||||
fi
|
||||
}
|
||||
|
||||
x265-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Add table
Reference in a new issue