Skip to content

Commit bc4b597

Browse files
committed
rust: filter out -femit-struct-debug-baseonly from bindgen flags
That flag is enabled by default in the arm64 defconfig, and is not supported by libclang. Signed-off-by: Antonio Terceiro <[email protected]>
1 parent 583bc93 commit bc4b597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ 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=% \
200+
-falign-loops=% -femit-struct-debug-baseonly \
201201
-fno-ipa-cp-clone -fno-ipa-sra -fno-partial-inlining \
202202
-fplugin-arg-arm_ssp_per_task_plugin-% \
203203
-fno-reorder-blocks -fno-allow-store-data-races -fasan-shadow-offset=% \

0 commit comments

Comments
 (0)