Commit 58c6d2e2 authored by Rémi Denis-Courmont's avatar 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.
parent 36dde1d5
......@@ -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 $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment