[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
|
case ${toolchain} in
|
||||||
*-darwin-*)
|
*-darwin-*)
|
||||||
mvmin=$(sw_vers -productVersion)
|
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_cflags $mvmin
|
||||||
add_ldflags $mvmin
|
add_ldflags $mvmin
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue