[OTR-dev] mingw build instructions/improvements

Jacob Appelbaum jacob at appelbaum.net
Wed Aug 22 14:40:52 EDT 2012


Paul Wouters:
> On Wed, 22 Aug 2012, Jacob Appelbaum wrote:
> 
>> Pidgin should really harden their builds. My attempts in that area have
>> been stalled for quite some time and I've basically given up on them:
>> http://developer.pidgin.im/ticket/13879
>>
>> I think we want to add hardening options to all of the libraries we use
>> during the build process. We could easily hack up some patches for our
>> own build process and if they'd like it, we can send them upstream. Any
>> thoughts on that Ian?
> 
> Just make sure you do not override, but only add to the common build
> flags like CFLAGS and LDFLAGS et all. Because otherwise you will be
> undoing the distro's defaults. For example relro and -fPIE are part
> of the redhat build system flags.
> 

Sure - for the mingw stuff, we don't use their flags - we set them all
manually. It's pretty manual overall.

All the best,
Jake



More information about the OTR-dev mailing list