Description: Put x86 specific code behind ifdefs.
Author: Peter Michael Green <plugwash@debian.org>

--- freedv-1.4.orig/src/fdmdv2_main.cpp
+++ freedv-1.4/src/fdmdv2_main.cpp
@@ -4496,6 +4496,8 @@ void MainFrame::CloseSerialPort(void)
 // Tests the underlying platform for AVX support.  2020 needs AVX support to run
 // in real-time, and old processors do not offer AVX support
 //
+#if defined(__x86_64__) || defined(_M_X64) || defined(__i386) || defined(_M_IX86)
+
 void __cpuid(int* cpuinfo, int info)
 {
     __asm__ __volatile__(
@@ -4538,6 +4540,12 @@ void MainFrame::checkAvxSupport(void)
 
     isAvxPresent = avxSupported;
 }
+#else
+void MainFrame::checkAvxSupport(void)
+{
+    isAvxPresent = false;
+}
+#endif
 
 #ifdef __UDP_SUPPORT__
 
