Skip to content

Commit

Permalink
test/rust: Replace gcc -m argument with a -f argument
Browse files Browse the repository at this point in the history
-m arguments aren't portable across architectures. -fipa-pta will
hopefully be portable for GCC, but also not implemented by clang.

Fixes: #13417
  • Loading branch information
dcbaker committed Jul 15, 2024
1 parent 9cc94a1 commit 44323ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test cases/rust/12 bindgen/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44323ff

Please sign in to comment.