Browse Source

configure: filter out -guard:signret from armasm flags

While cl.exe supports -guard:signret, armasm64 complains about
unknown flag. Note that -guard:ehcont is accepted by armasm64.

Fixes:
error A2029: unknown command-line argument or argument value -guard:signret

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
Kacper Michajłow 4 ngày trước cách đây
mục cha
commit
9b2162275b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      configure

+ 1 - 0
configure

@@ -4968,6 +4968,7 @@ armasm_flags(){
             # Filter out MSVC cl.exe options from cflags that shouldn't
             # be passed to gas-preprocessor
             -M[TD]*)                                            ;;
+            -guard:signret)                                     ;;
             *)                  echo $flag                      ;;
         esac
    done