diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2020-06-17 10:52:14 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-17 16:31:52 +0100 |
commit | 5ad6d32ac42ccbb6b84fe457d6e8e8322b5ca939 (patch) | |
tree | b48be7ee08be40c5bf7950d3b268c771ca505fd7 /meta/recipes-support/curl | |
parent | ef5dbbca268c61bf31497ac8ac2e09682ba227c7 (diff) | |
download | poky-5ad6d32ac42ccbb6b84fe457d6e8e8322b5ca939.tar.gz |
curl: add debug info
Currently, curl (and libcurl) is built without debug info, making the
curl-dbg package rather useless. Since debug symbols are automatically
stripped and put in that package by the build system, making sure that
curl is built with -g shouldn't hurt anything, but will help those
that try to debug a libcurl-using application and hence explicitly
include curl-dbg in their rootfs.
Unfortunately, setting --enable-debug then changes the default value
of the optimize option from (assume yes) to (assume no), while also
changing the default value of the curldebug option [which is a
separate thing that actually changes generated code to add some memory
tracking] from (assume no) to (assume yes). So explicitly pass the
appropriate options that make those two have the same value as they
used to have by default.
(From OE-Core rev: 278242619eec5f5f143d57e92b109012001f1f91)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/curl')
-rw-r--r-- | meta/recipes-support/curl/curl_7.70.0.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/curl/curl_7.70.0.bb b/meta/recipes-support/curl/curl_7.70.0.bb index baf72f8e75..bb25677ef7 100644 --- a/meta/recipes-support/curl/curl_7.70.0.bb +++ b/meta/recipes-support/curl/curl_7.70.0.bb | |||
@@ -57,6 +57,9 @@ EXTRA_OECONF = " \ | |||
57 | --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \ | 57 | --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \ |
58 | --without-libmetalink \ | 58 | --without-libmetalink \ |
59 | --without-libpsl \ | 59 | --without-libpsl \ |
60 | --enable-debug \ | ||
61 | --enable-optimize \ | ||
62 | --disable-curldebug \ | ||
60 | " | 63 | " |
61 | 64 | ||
62 | do_install_append_class-target() { | 65 | do_install_append_class-target() { |