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:
Andrew Resch 2007-07-04 21:46:41 +00:00
parent e618d37611
commit da539f5353
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ if not OS == "win":
EXTRA_COMPILE_ARGS = ["-Wno-missing-braces", "-DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1", 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_SSL_STREAM_HPP=1",
"-DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_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": if ARCH == "x64":
EXTRA_COMPILE_ARGS.append("-DAMD64") EXTRA_COMPILE_ARGS.append("-DAMD64")