[MPlayer-cvslog] r38203 - trunk/configure

komh subversion at mplayerhq.hu
Mon Nov 30 13:16:40 EET 2020


Author: komh
Date: Mon Nov 30 13:16:39 2020
New Revision: 38203

Log:
configure: set minimum arch to i586 on --enable-runtime-cpudetection

__atomic_fetch_add(__sync_fetch_and_add) builtin requires i586 at least.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sun Nov  1 17:07:49 2020	(r38202)
+++ trunk/configure	Mon Nov 30 13:16:39 2020	(r38203)
@@ -2291,8 +2291,8 @@ case "$host_arch" in
     fi
   else # if test "$_runtime_cpudetection" = no
     _mcpu="$cpuopt=generic"
-    # at least i486 required, for bswap instruction
-    _march="-march=i486"
+    # at least i586 required, for __atomic_fetch_add builtin
+    _march="-march=i586"
     cflag_check $_mcpu || _mcpu="$cpuopt=i686"
     cflag_check $_mcpu || _mcpu=""
     cflag_check $_march $_mcpu || _march=""


More information about the MPlayer-cvslog mailing list