fix some build stuff

This commit is contained in:
2024-05-23 19:11:29 -05:00
parent d4d8a5b81e
commit ed5d842037
2 changed files with 33 additions and 23 deletions

View File

@@ -320,9 +320,14 @@ if [[ "$BUILD_OTHERS" == "true" ]]; then
# build vpx
cd "$VPX_DIR" || exit
update_git
if [[ "$ARCH" == "x86_64" ]]; then
VP_COMP_FLAGS="$COMP_FLAGS";
else
VP_COMP_FLAGS=""
fi
./configure --enable-pic --as=yasm \
--extra-cflags="-O${OPT_LVL} $COMP_FLAGS" \
--extra-cxxflags="-O${OPT_LVL} $COMP_FLAGS" \
--extra-cflags="-flto -O${OPT_LVL} $VP_COMP_FLAGS" \
--extra-cxxflags="-flto -O${OPT_LVL} $VP_COMP_FLAGS" \
--disable-examples --disable-docs \
--enable-better-hw-compatibility \
--enable-vp9-highbitdepth \