Skip to content

Commit 25fa03c

Browse files
authored
Merge pull request Rust-for-Linux#855 from ojeda/retpoline
rust: bindgen: skip `-mindirect-branch-cs-prefix`
2 parents 3a64d19 + d596924 commit 25fa03c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ bindgen_skip_c_flags := -mno-fp-ret-in-387 -mpreferred-stack-boundary=% \
267267
-mskip-rax-setup -mgeneral-regs-only -msign-return-address=% \
268268
-mindirect-branch=thunk-extern -mindirect-branch-register \
269269
-mfunction-return=thunk-extern -mrecord-mcount -mabi=lp64 \
270-
-mstack-protector-guard% -mtraceback=no \
270+
-mindirect-branch-cs-prefix -mstack-protector-guard% -mtraceback=no \
271271
-mno-pointers-to-nested-functions -mno-string \
272272
-mno-strict-align -mstrict-align \
273273
-fconserve-stack -falign-jumps=% -falign-loops=% \

0 commit comments

Comments
 (0)