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 0d857d9

Browse filesBrowse files
committed
MacOs build fix
1 parent 3e2f4a2 commit 0d857d9
Copy full SHA for 0d857d9

File tree

Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed

‎build-ffmpeg

Copy file name to clipboardExpand all lines: build-ffmpeg
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SCRIPT_VERSION=1.51
99
CWD=$(pwd)
1010
PACKAGES="$CWD/packages"
1111
WORKSPACE="$CWD/workspace"
12-
CFLAGS="-I$WORKSPACE/include"
12+
CFLAGS="-I$WORKSPACE/include -Wno-int-conversion"
1313
LDFLAGS="-L$WORKSPACE/lib"
1414
LDEXEFLAGS=""
1515
EXTRALIBS="-ldl -lpthread -lm -lz"
@@ -333,6 +333,10 @@ fi
333333

334334
if build "pkg-config" "0.29.2"; then
335335
download "https://pkgconfig.freedesktop.org/releases/pkg-config-$CURRENT_PACKAGE_VERSION.tar.gz"
336+
if [[ "$OSTYPE" == "darwin"* ]]; then
337+
export XXFLAGS="-Wno-int-conversion" # pkg-config 0.29.2 has a warning that is treated as an error
338+
export CFLAGS="-Wno-error=int-conversion"
339+
fi
336340
execute ./configure --silent --prefix="${WORKSPACE}" --with-pc-path="${WORKSPACE}"/lib/pkgconfig --with-internal-glib
337341
execute make -j $MJOBS
338342
execute make install

0 commit comments

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