Submitted as: https://github.com/ceph/ceph/pull/45368 --- a/src/nasm-wrapper +++ b/src/nasm-wrapper @@ -37,6 +37,10 @@ refine_nasm_options+=" -i $1" shift ;; + -O* ) + # ignore C optimisations + shift + ;; * ) # Keep other options refine_nasm_options+=" $1"