[openssl-dev] [openssl.org #4567] Configure does not honor CFLAGS

noloader@gmail.com via RT rt at openssl.org
Tue Jun 14 07:35:11 UTC 2016


On Tue, Jun 14, 2016 at 3:33 AM, Richard Levitte via RT <rt at openssl.org> wrote:
> Is this enough to satisfy you?
>
> ./config -DNDEBUG -g3 -O0

Yes, that would be good.

no-asm and no-omit-frame-pointer on x86 may be good choices, too.

Jeff

> On Tue Jun 14 07:24:31 2016, noloader at gmail.com wrote:
>> Working from latest sources. I'm trying to build a "debug"
>> configuration with both -DNDEBUG (I don't want asserts firing) and -g3
>> (I want the symbolic constants).
>>
>> $ ./config no-asm -g3 -O0 -fno-omit-frame-pointer
>> Operating system: i86pc-whatever-solaris2
>> Configuring for solaris64-x86_64-gcc
>> Configuring OpenSSL version 1.1.0-pre6-dev (0x0x10100006L)
>> ...
>> CC =gcc
>> CFLAG =-m64 -Wall -DL_ENDIAN -O3 -pthread -DFILIO_H -g3 -O0
>> -fno-omit-frame-pointer
>> ...
>>
>>
>> And:
>>
>> $ export CFLAGS="-DNDEBUG -g3 -O0"
>> $ ./config
>> Operating system: i86pc-whatever-solaris2
>> Configuring for solaris64-x86_64-gcc
>> Configuring OpenSSL version 1.1.0-pre6-dev (0x0x10100006L)
>> ...
>> CC =gcc
>> CFLAG =-m64 -Wall -DL_ENDIAN -O3 -pthread -DFILIO_H -Wa,--
>> noexecstack
>> SHARED_CFLAG =-fPIC
>> ...


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4567
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list