add O2 flag
This commit is contained in:
parent
1a3a630f4e
commit
c6481f8da5
2
setup.py
2
setup.py
|
@ -101,7 +101,7 @@ if not OS == "win":
|
||||||
"-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=1"]
|
"-DNDEBUG=1", "-O2"]
|
||||||
if ARCH == "x64":
|
if ARCH == "x64":
|
||||||
EXTRA_COMPILE_ARGS.append("-DAMD64")
|
EXTRA_COMPILE_ARGS.append("-DAMD64")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue