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
(cherry picked from commit 44323ff)
  • Loading branch information
dcbaker authored and eli-schwartz committed Jul 26, 2024
1 parent 0ee0780 commit d8165a1
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 d8165a1

Please sign in to comment.