Add '-NDEBUG' to EXTRA_COMPILE_ARGS for some systems that don't seem to
add it properly to CFLAGS. Seems to effect python-2.5 systems.
This commit is contained in:
parent
e618d37611
commit
da539f5353
2
setup.py
2
setup.py
|
@ -99,7 +99,7 @@ if not OS == "win":
|
|||
EXTRA_COMPILE_ARGS = ["-Wno-missing-braces", "-DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1",
|
||||
"-DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1",
|
||||
"-DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1",
|
||||
"-DHAVE_PTHREAD=1", "-DTORRENT_USE_OPENSSL=1", "-DHAVE_SSL=1"]
|
||||
"-DHAVE_PTHREAD=1", "-DTORRENT_USE_OPENSSL=1", "-DHAVE_SSL=1", "-DNDEBUG"]
|
||||
if ARCH == "x64":
|
||||
EXTRA_COMPILE_ARGS.append("-DAMD64")
|
||||
|
||||
|
|
Loading…
Reference in New Issue