From: Duncan Bellamy Date: Sun, 13 Mar 2022 16:22:39 +0000 (+0000) Subject: nasm-wrapper: ignore -O flags passed X-Git-Tag: v18.0.0~903^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=69a1e620e600e7f1dff8a6e39dd19eff8cdb398c;p=ceph.git nasm-wrapper: ignore -O flags passed Fixes: https://tracker.ceph.com/issues/54545 Signed-off-by: Duncan Bellamy --- diff --git a/src/nasm-wrapper b/src/nasm-wrapper index e67da7cba1a4..84da2cb23e2d 100755 --- a/src/nasm-wrapper +++ b/src/nasm-wrapper @@ -37,6 +37,10 @@ while [ -n "$*" ]; do refine_nasm_options+=" -i $1" shift ;; + -O* ) + # ignore C optimisations + shift + ;; * ) # Keep other options refine_nasm_options+=" $1"