[openssl-dev] OpenSSL version 1.1.0 pre release 2 published
Corinna Vinschen
vinschen at redhat.com
Sun Jan 17 17:23:21 UTC 2016
On Jan 17 18:17, Corinna Vinschen wrote:
> On Jan 17 17:30, Richard Levitte wrote:
> > In message <20160117153235.GB9897 at calimero.vinschen.de> on Sun, 17 Jan 2016 16:32:35 +0100, Corinna Vinschen <vinschen at redhat.com> said:
> > [...]
> > vinschen> This is pretty non-standard. By not allowing to extend CFLAGS from the
> > vinschen> environment, you require all distros to patch the OpenSSL package to fit
> > vinschen> their needs in terms of the build flags.
> >
> > Actually, I forgot another possibility, to just pass them on the
> > Configure / config command line, like so:
> >
> > ./config -ggdb -O2 -pipe -Wimplicit-function-declaration \
> > -fdebug-prefix-map=${BUILDDIR}=/usr/src/debug/openssl-1.1.0-pre2-1 \
> > -fdebug-prefix-map=${SOURCEDIR}=/usr/src/debug/openssl-1.1.0-pre2-1
> >
> > Basically, anything start with a dash or plus that Configure doesn't
> > recognise as its own, it will pass down:
> >
> > * if it starts with -l. -L or -Wl, into EX_LIBS, which is
> > essentially flags to the linker.
> > * otherwise, into CFLAG / CFLAGS.
> >
> > Can't believe I forgot to mention that, considering I use it all the
> > time...
>
> This works. I can't believe this worked so simple all the time.
> [...]
Just to be clear, this does not help unless the -s option is dropped
from the linker command line. This part of my patch (or something along
the lines) is still necessary, otherwise building the debuginfo files
fails.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20160117/f63c16f3/attachment.sig>
More information about the openssl-dev
mailing list