Skip to contentSkip to conversation

libcurl: disable curldebug

PATCH New Gustavo Zacarias 2 participants 2 messages Apr 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libcurl: disable curldebug

curldebug is a more advanced form of debugging for curl which audits source code with the checksource.pl tool, and treats warnings as errors. Normally users won't want/need this so disable it since it leads to failed builds when debug info is enabled (which is what people normally want).
When buildroot does --enable-debug curl inherently enables curldebug too.

Solves bug #8041.

---
 package/libcurl/libcurl.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libcurl/libcurl.mk +1 -1
index acb2b42..3390399 100644
@@ -20,7 +20,7 @@ LIBCURL_INSTALL_STAGING = YES
 # probably almost never used. See
 # http://curl.haxx.se/docs/manpage.html#--ntlm.
 LIBCURL_CONF_OPTS = --disable-verbose --disable-manual --disable-ntlm-wb \
-	--enable-hidden-symbols --with-random=/dev/urandom
+	--enable-hidden-symbols --with-random=/dev/urandom --disable-curldebug
 LIBCURL_CONFIG_SCRIPTS = curl-config
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
Signature · 1 line
2.0.5
#1 lore raw

PATCH 1/1 libcurl: disable curldebug

Dear Gustavo Zacarias,

Quoted 7 lines · Gustavo Zacarias

curldebug is a more advanced form of debugging for curl which audits source code with the checksource.pl tool, and treats warnings as errors. Normally users won't want/need this so disable it since it leads to failed builds when debug info is enabled (which is what people normally want).
When buildroot does --enable-debug curl inherently enables curldebug too.

Quoted 6 lines

Solves bug #8041.

---
 package/libcurl/libcurl.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com