[PATCH] cipher/Makefile.am: add '-fcoverage-*' to instrumentation munging

Guido Vranken guidovranken at gmail.com
Sun May 19 13:50:12 CEST 2019


I was working on resolving it by adding --disable-instrumentation-munging
to the configure command. Is this patch a better way?

On Sun, May 19, 2019 at 1:39 PM Jussi Kivilinna <jussi.kivilinna at iki.fi>
wrote:

> * cipher/Makefile.am: Remove '-fcoverage-*' flag for mixed asm/C
> i386+amd64 implementations.
> --
>
> Combination '-fprofile-instr-generate -fcoverage-mapping' was causing
> build error as former was removed by munging and latter requires thay.
>
> Signed-off-by: Jussi Kivilinna <jussi.kivilinna at iki.fi>
> ---
>  0 files changed
>
> diff --git a/cipher/Makefile.am b/cipher/Makefile.am
> index 19420bf4e..690d9d98b 100644
> --- a/cipher/Makefile.am
> +++ b/cipher/Makefile.am
> @@ -155,7 +155,8 @@ tiger.lo: $(srcdir)/tiger.c Makefile
>  if ENABLE_INSTRUMENTATION_MUNGING
>  instrumentation_munging = sed \
>         -e 's/-fsanitize[=,\-][=,a-z,A-Z,0-9,\,,\-]*//g' \
> -       -e 's/-fprofile[=,\-][=,a-z,A-Z,0-9,\,,\-]*//g'
> +       -e 's/-fprofile[=,\-][=,a-z,A-Z,0-9,\,,\-]*//g' \
> +       -e 's/-fcoverage[=,\-][=,a-z,A-Z,0-9,\,,\-]*//g'
>  else
>  instrumentation_munging = cat
>  endif
>
>
> _______________________________________________
> Gcrypt-devel mailing list
> Gcrypt-devel at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20190519/c521ee32/attachment.html>


More information about the Gcrypt-devel mailing list