From: Connor Fawcett Date: Fri, 21 Jun 2024 15:31:33 +0000 (+0100) Subject: nasm-wrapper: Exclude --coverage flag from being passed to nasm X-Git-Tag: v20.0.0~1648^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F58209%2Fhead;p=ceph.git 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 --- diff --git a/src/nasm-wrapper b/src/nasm-wrapper index 84da2cb23e2d..1ac60e1a42ec 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 ;;