Hi, On Sun, Jun 12, 2016 at 07:56:50PM +0200, Steffan Karger wrote: > > Can we detect and #ifdef this at build time? > > > > Yes, adding another #ifdef is what we try to avoid - but this is a fairly > > localized thing, and the dependency is clear, not a "user selectable > > combination of build options". > > Sure. We can put this in e.g. #ifndef ENABLE_SMALL.
Was more thinking along the line of
#if !defined(ENABLE_SMALL) && !defined(MBEDTLS_COMPILED_WITH_SILLY_OPTION)
because --enable-small would remove lots of other useful information...
> This information is not just useful for debugging during development,
> but also for debugging user problems. So I'd rather keep it in there
> by default, most users don't care at all about 40 kB :)
As far as I understood, if you build mbedtls without this debug.o, linking
OpenVPN would just *fail* today.
Or did I misunderstand?
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]
fax: +49-89-35655025 [email protected]
signature.asc
Description: PGP signature
