# git diff kernel/Makefile
KBUILD_AFLAGS := -D__ASSEMBLY__
KBUILD_CFLAGS := -Wall -Werror -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common -fshort-wchar \
-Werror-implicit-function-declaration \
-Wno-format-security \
+ -fno-delete-null-pointer-checks \
+ -w \
-std=gnu89
KBUILD_CPPFLAGS := -D__KERNEL__
Linux之kernel编译去掉:-Werror=format=
猜你喜欢
转载自blog.csdn.net/u010164190/article/details/124933298
今日推荐
周排行