From da539f53531272dc39a377f79582a0fde79b99cf Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Wed, 4 Jul 2007 21:46:41 +0000 Subject: [PATCH] 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. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a6b5179b7..7a8495aa9 100644 --- a/setup.py +++ b/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")