Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 735ba7c

Browse filesBrowse files
committed
Fixes markus-perl#115. Unfortunately, I don't have an M1, so i can't test
1 parent 00e963c commit 735ba7c
Copy full SHA for 735ba7c

File tree

Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed

‎build-ffmpeg

Copy file name to clipboardExpand all lines: build-ffmpeg
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,20 @@ if command_exists "python3"; then
429429
if build "dav1d" "0.9.2"; then
430430
download "https://code.videolan.org/videolan/dav1d/-/archive/0.9.2/dav1d-0.9.2.tar.gz"
431431
make_dir build
432+
433+
CFLAGSBACKUP=$CFLAGS
434+
if $MACOS_M1; then
435+
export CFLAGS="-arch arm64"
436+
fi
437+
432438
execute meson build --prefix="${WORKSPACE}" --buildtype=release --default-library=static --libdir="${WORKSPACE}"/lib
433439
execute ninja -C build
434440
execute ninja -C build install
441+
442+
if $MACOS_M1; then
443+
export CFLAGS=$CFLAGSBACKUP
444+
fi
445+
435446
build_done "dav1d" "0.9.2"
436447
fi
437448
CONFIGURE_OPTIONS+=("--enable-libdav1d")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.