rk: kbuild: silence resource_tool warning
scripts/resource_tool.c:718:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] ... Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: I393a60474eb557ca0cdd54df9a391171e097f8b0
This commit is contained in:
parent
36b0a9a80e
commit
6081e59c48
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ hostprogs-always-$(CONFIG_RUST) += generate_rust_target
|
|||
|
||||
generate_rust_target-rust := y
|
||||
|
||||
HOSTCFLAGS_resource_tool.o += -Wno-declaration-after-statement
|
||||
HOSTCFLAGS_sorttable.o = -I$(srctree)/tools/include
|
||||
HOSTLDLIBS_sorttable = -lpthread
|
||||
HOSTCFLAGS_asn1_compiler.o = -I$(srctree)/include
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue