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

Jussi Kivilinna jussi.kivilinna at iki.fi
Sun May 19 13:38:49 CEST 2019


* 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




More information about the Gcrypt-devel mailing list