test/rust: Replace gcc -m argument with a -f argument

-m arguments aren't portable across architectures. -fipa-pta will
hopefully be portable for GCC, but also not implemented by clang.

Fixes: #13417
pull/13433/head
Dylan Baker 7 months ago
parent 9cc94a16ab
commit 44323fffea
  1. 2
      test cases/rust/12 bindgen/meson.build

@ -15,7 +15,7 @@ endif
cc_id = meson.get_compiler('c').get_id()
compiler_specific_args = []
if cc_id == 'gcc'
compiler_specific_args = ['-mtls-dialect=gnu2']
compiler_specific_args = ['-fipa-pta']
elif cc_id == 'msvc'
compiler_specific_args = ['/fp:fast']
endif

Loading…
Cancel
Save