forked from premiere/premiere-libtorrent
[#1561] Silence deprecated warnings in Python bindings
This commit is contained in:
parent
450a8fb170
commit
fc3eae8e9b
|
@ -1 +1 @@
|
|||
-I@top_srcdir@/include @COMPILETIME_OPTIONS@ @CXXFLAGS@ @CPPFLAGS@ @BOOST_CPPFLAGS@ @OPENSSL_INCLUDES@
|
||||
-I@top_srcdir@/include @COMPILETIME_OPTIONS@ @CPPFLAGS@ @BOOST_CPPFLAGS@ @CXXFLAGS@ @PYTHON_CXXFLAGS@ @OPENSSL_INCLUDES@
|
||||
|
|
|
@ -524,6 +524,9 @@ AC_SUBST(DEBUGFLAGS)
|
|||
AC_SUBST(PYTHON_INSTALL_PARAMS)
|
||||
AC_SUBST(COMPILETIME_OPTIONS)
|
||||
|
||||
# Disable deprecated warnings for the Python binding builds.
|
||||
PYTHON_CXXFLAGS="${PYTHON_CXXFLAGS} -Wno-deprecated-declarations"
|
||||
AC_SUBST(PYTHON_CXXFLAGS)
|
||||
|
||||
# Try to guess real git revision if any, fallback to hardcoded otherwise
|
||||
GIT_REVISION=`git log -1 --format=format:%h 2>/dev/null`
|
||||
|
|
Loading…
Reference in New Issue