[vlc-commits] contrib: upnp: remove -O3
Rémi Denis-Courmont
git at videolan.org
Thu Aug 9 19:34:03 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 9 18:55:06 2012 +0300| [58c6d2e275dc80581d69bd579c4d3b03339fe5d3] | committer: Rémi Denis-Courmont
contrib: upnp: remove -O3
-O3 enables dangerous optimizations and does not make much sense for a
protocol (not decoding => not performance critical) library.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=58c6d2e275dc80581d69bd579c4d3b03339fe5d3
---
contrib/src/upnp/rules.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/src/upnp/rules.mak b/contrib/src/upnp/rules.mak
index d366a03..2e1a79a 100644
--- a/contrib/src/upnp/rules.mak
+++ b/contrib/src/upnp/rules.mak
@@ -29,6 +29,6 @@ endif
ifdef HAVE_WIN32
$(RECONF)
endif
- cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -O3 -DUPNP_STATIC_LIB $(LIBUPNP_ECFLAGS)" ./configure --disable-samples --without-documentation --enable-ipv6 $(HOSTCONF)
+ cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -DUPNP_STATIC_LIB $(LIBUPNP_ECFLAGS)" ./configure --disable-samples --without-documentation --enable-ipv6 $(HOSTCONF)
cd $< && $(MAKE) install
touch $@
More information about the vlc-commits
mailing list