[PATCH] configure: set minimum arch to i586 on --enable-runtime-cpudetection
KO Myung-Hun <[email protected]>
| Newsgroups | gmane.comp.video.mplayer.devel |
|---|---|
| Message-ID | <[email protected]> |
__atomic_fecth_add(___sync_fetch_and_add) builtin requires i586 at least.
---
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 1882f208c..4b8ec235f 100755
--- a/configure
+++ b/configure
@@ -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=""
--
2.22.0
_______________________________________________
MPlayer-dev-eng mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng