mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-10 16:19:23 +00:00
Link against libatomic when 64-bit atomics require it.
This commit is contained in:
committed by
Jari Sundell
parent
324811d6f0
commit
224f06fdc2
+3
-1
@@ -22,6 +22,8 @@ RAK_ENABLE_DEBUG
|
|||||||
RAK_ENABLE_EXTRA_DEBUG
|
RAK_ENABLE_EXTRA_DEBUG
|
||||||
RAK_ENABLE_WERROR
|
RAK_ENABLE_WERROR
|
||||||
|
|
||||||
|
TORRENT_CHECK_ATOMIC
|
||||||
|
|
||||||
AC_ARG_ENABLE(execinfo,
|
AC_ARG_ENABLE(execinfo,
|
||||||
AS_HELP_STRING([--disable-execinfo],
|
AS_HELP_STRING([--disable-execinfo],
|
||||||
[disable libexecinfo [[default=enable]]]),
|
[disable libexecinfo [[default=enable]]]),
|
||||||
@@ -68,7 +70,7 @@ AC_DEFINE(USER_AGENT, [std::string(PACKAGE "/" VERSION)], Http user agent)
|
|||||||
|
|
||||||
dnl Only update global build variables immediately before generating the output,
|
dnl Only update global build variables immediately before generating the output,
|
||||||
dnl to avoid affecting the global build environment for other autoconf checks.
|
dnl to avoid affecting the global build environment for other autoconf checks.
|
||||||
LIBS="$PTHREAD_LIBS $CURSES_LIB $CURSES_LIBS $ZLIB_LIBS $DEPENDENCIES_LIBS $LIBS"
|
LIBS="$ATOMIC_LIBS $PTHREAD_LIBS $CURSES_LIB $CURSES_LIBS $ZLIB_LIBS $DEPENDENCIES_LIBS $LIBS"
|
||||||
CFLAGS="$CFLAGS $PTHREAD_CFLAGS $CURSES_CFLAGS $ZLIB_CFLAGS $DEPENDENCIES_CFLAGS"
|
CFLAGS="$CFLAGS $PTHREAD_CFLAGS $CURSES_CFLAGS $ZLIB_CFLAGS $DEPENDENCIES_CFLAGS"
|
||||||
CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS $CURSES_CFLAGS $ZLIB_CFLAGS $DEPENDENCIES_CFLAGS"
|
CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS $CURSES_CFLAGS $ZLIB_CFLAGS $DEPENDENCIES_CFLAGS"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user