From c9a6e7eb0deafc027c2926b67f1be086a653a825 Mon Sep 17 00:00:00 2001 From: Connor Fawcett Date: Fri, 21 Jun 2024 16:31:33 +0100 Subject: [PATCH] nasm-wrapper: Exclude --coverage flag from being passed to nasm A previous fix for compiling with gcov code coverage enabled forgot to stop the --coverage flag being passed to nasm during compile, this breaks compilation as nasm doesn't recognise this flag. Fixes: https://tracker.ceph.com/issues/66601 Signed-off-by: Connor Fawcett --- src/nasm-wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nasm-wrapper b/src/nasm-wrapper index 84da2cb23e2df..1ac60e1a42ec3 100755 --- a/src/nasm-wrapper +++ b/src/nasm-wrapper @@ -10,7 +10,7 @@ while [ -n "$*" ]; do refine_nasm_options+=" -f $1" shift ;; - -c | --param* | -m* | -pipe | -thread ) + -c | --param* | --coverage | -m* | -pipe | -thread ) # unknown options under nasm & yasm shift ;; -- 2.39.5