Skip to content

Commit 63e121e

Browse files
committed
test armx
1 parent 9dc7774 commit 63e121e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ if [ "$BUILD_LICENSE" == "gpl" ]; then
5454
fi
5555

5656
if [[ "$BUILD_ARCH" = arm ]]; then
57-
X265_ARGS="$X265_ARGS -DCMAKE_SYSTEM_PROCESSOR=armv7l"
57+
X265_ARGS="$X265_ARGS -DCMAKE_SYSTEM_PROCESSOR=armv7l -DCROSS_COMPILE_ARM=ON"
5858
elif [[ "$BUILD_ARCH" = arm64 ]]; then
59-
X265_ARGS="$X265_ARGS -DCMAKE_SYSTEM_PROCESSOR=arm64"
59+
X265_ARGS="$X265_ARGS -DCMAKE_SYSTEM_PROCESSOR=arm64 -DCROSS_COMPILE_ARM64=ON"
6060
fi
6161

6262
git -C x265_git fetch --tags

0 commit comments

Comments
 (0)