Skip to content

Commit 5f44006

Browse files
authored
Merge pull request #481 from terceiro/rust-defconfig-arm-arm64
Filter out bindgen flags not supported by libclang
2 parents 0ec7dbf + bc4b597 commit 5f44006

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rust/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,9 @@ bindgen_skip_c_flags := -mno-fp-ret-in-387 -mpreferred-stack-boundary=% \
197197
-mskip-rax-setup -mgeneral-regs-only -msign-return-address=% \
198198
-mindirect-branch=thunk-extern -mindirect-branch-register -mrecord-mcount \
199199
-mabi=lp64 -mstack-protector-guard% -fconserve-stack -falign-jumps=% \
200-
-falign-loops=% -fno-ipa-cp-clone -fno-partial-inlining \
200+
-falign-loops=% -femit-struct-debug-baseonly \
201+
-fno-ipa-cp-clone -fno-ipa-sra -fno-partial-inlining \
202+
-fplugin-arg-arm_ssp_per_task_plugin-% \
201203
-fno-reorder-blocks -fno-allow-store-data-races -fasan-shadow-offset=% \
202204
-Wno-packed-not-aligned -Wno-format-truncation -Wno-format-overflow \
203205
-Wno-stringop-truncation -Wno-unused-but-set-variable \

0 commit comments

Comments
 (0)