mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-25 19:32:11 +01:00
configure.in: fix message
This commit is contained in:
parent
2b72f35c32
commit
c69092e110
@ -42,9 +42,11 @@ AC_CACHE_CHECK([for __sync_* atomic operations], msgpack_cv_atomic_ops, [
|
|||||||
])
|
])
|
||||||
if test "$msgpack_cv_atomic_ops" != "yes"; then
|
if test "$msgpack_cv_atomic_ops" != "yes"; then
|
||||||
AC_MSG_ERROR([__sync_* atomic operations are not supported.
|
AC_MSG_ERROR([__sync_* atomic operations are not supported.
|
||||||
|
|
||||||
Note that gcc < 4.1 is not supported.
|
Note that gcc < 4.1 is not supported.
|
||||||
If you are using gcc-4.1 and the CPU architecture is x86, try to add
|
|
||||||
CFLAGS"--march=i686" and CXXFLAGS="-march=i668" options to ./configure as follows:
|
If you are using gcc >= 4.1 and the default target CPU architecture is "i386", try to
|
||||||
|
add CFLAGS="--march=i686" and CXXFLAGS="-march=i668" options to ./configure as follows:
|
||||||
|
|
||||||
$ ./configure CFLAGS="-march=i686" CXXFLAGS="-march=i686"
|
$ ./configure CFLAGS="-march=i686" CXXFLAGS="-march=i686"
|
||||||
])
|
])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user