Support new Mac M1 ARM64 architecture (#2591)
This commit is contained in:
parent
d65cacddd3
commit
caa34e8cbd
|
@ -9078,6 +9078,10 @@ $as_echo "Checking if libwebrtc is disabled...no" >&6; }
|
|||
ac_webrtc_instset=neon
|
||||
ac_webrtc_cflags="-DWEBRTC_ARCH_ARMV7 -mfloat-abi=hard -mfpu=neon"
|
||||
;;
|
||||
arm-apple-darwin*)
|
||||
ac_webrtc_instset=neon
|
||||
ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64"
|
||||
;;
|
||||
*)
|
||||
ac_webrtc_instset=sse2
|
||||
;;
|
||||
|
|
|
@ -2135,6 +2135,10 @@ AC_ARG_ENABLE(libwebrtc,
|
|||
ac_webrtc_instset=neon
|
||||
ac_webrtc_cflags="-DWEBRTC_ARCH_ARMV7 -mfloat-abi=hard -mfpu=neon"
|
||||
;;
|
||||
arm-apple-darwin*)
|
||||
ac_webrtc_instset=neon
|
||||
ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64"
|
||||
;;
|
||||
*)
|
||||
ac_webrtc_instset=sse2
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue