[vlc-commits] contrib: upnp: enable debug when we don't want optimizations

Steve Lhomme git at videolan.org
Wed Jun 1 17:42:20 CEST 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Wed Jun  1 16:38:04 2016 +0200| [2b09f786ee78a00f61ba3092eb74d3ecbadf2163] | committer: Jean-Baptiste Kempf

contrib: upnp: enable debug when we don't want optimizations

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b09f786ee78a00f61ba3092eb74d3ecbadf2163
---

 contrib/src/upnp/rules.mak |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/contrib/src/upnp/rules.mak b/contrib/src/upnp/rules.mak
index 74120f0..ae06ee2 100644
--- a/contrib/src/upnp/rules.mak
+++ b/contrib/src/upnp/rules.mak
@@ -20,6 +20,9 @@ CONFIGURE_ARGS=--disable-ipv6 --enable-unspecified_server
 else
 CONFIGURE_ARGS=--enable-ipv6
 endif
+ifndef WITH_OPTIMIZATION
+CONFIGURE_ARGS += -enable-debug
+endif
 
 upnp: libupnp-$(UPNP_VERSION).tar.bz2 .sum-upnp
 	$(UNPACK)



More information about the vlc-commits mailing list