]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
nasm-wrapper: ignore -O flags passed 45368/head
authorDuncan Bellamy <dunk@denkimushi.com>
Sun, 13 Mar 2022 16:22:39 +0000 (16:22 +0000)
committerDuncan Bellamy <dunk@denkimushi.com>
Sun, 13 Mar 2022 16:22:39 +0000 (16:22 +0000)
Fixes: https://tracker.ceph.com/issues/54545
Signed-off-by: Duncan Bellamy <dunk@denkimushi.com>
src/nasm-wrapper

index e67da7cba1a47603b98268e457992fdaa354c885..84da2cb23e2dfc86c6355d2eba67af2b4930ef43 100755 (executable)
@@ -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"