[libvpx] configure.sh erroneous make warnings starting with macOS 11.5.1
This commit is contained in:
parent
083a9ab1c3
commit
f55cc1993a
|
@ -865,7 +865,11 @@ process_common_toolchain() {
|
|||
case ${toolchain} in
|
||||
*-darwin-*)
|
||||
mvmin=$(sw_vers -productVersion)
|
||||
mvmin="-mmacosx-version-min="${mvmin%.*}
|
||||
if [[ $mvmin == 10.* ]]; then
|
||||
mvmin="-mmacosx-version-min=""${mvmin%.*}"
|
||||
else
|
||||
mvmin="-mmacosx-version-min=""${mvmin%%.*}"
|
||||
fi
|
||||
add_cflags $mvmin
|
||||
add_ldflags $mvmin
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue