[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hardening-no-relro



Quoting Dmitry Bogatov (2015-03-11 06:57:53)
>> Recent releases of cdbs resolves dpkg-buildflags already, so if 
>> already build-depending on cdbs I suggest this alternative:
>>
>>  * Tighten to build-depend on cdbs (>= 0.4.127)
>>  * Include 1/class/langcore.mk
>>  * use $(LDFLAGS)
>>
>> The following should then work correctly with multiple LDFLAGS:
>>
>>   --ghc-options="$(patsubst %,-optl%,$(LDFLAGS))"
>>
>> or identical but more compact:
>>
>>   --ghc-options="$(LDFLAGS:%=-optl%)"
>
> Great! Should I make patch to follow your suggestion or you will do it 
> yourself?

I'd prefer if someone else double-checks my suggestions and cook up a 
patch.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: