cipher/Makefile.am: add '-fcoverage-*' to instrumentation munging master
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sun, 19 May 2019 11:33:07 +0000 (14:33 +0300)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Sun, 19 May 2019 11:33:07 +0000 (14:33 +0300)
* 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@iki.fi>
cipher/Makefile.am

index 19420bf..690d9d9 100644 (file)
@@ -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