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

Re: hardening-no-relro



> 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?

--
Best regards, Dmitry Bogatov <KAction@gnu.org>,
Free Software supporter, esperantisto and netiquette guardian.
GPG: 54B7F00D

Attachment: pgpdd75KYmXVr.pgp
Description: PGP signature


Reply to: