]> git.baikalelectronics.ru Git - kernel.git/commit
integrity: remove unneeded, broken attempt to add -fshort-wchar
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 26 Jul 2019 02:10:54 +0000 (11:10 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 5 Oct 2019 06:29:49 +0000 (15:29 +0900)
commitb41c4195b76c1b2c32654337fde9aa9988587d83
treeb22992e9758db1fb165af46b390008d5ee879f3d
parentfbfc59c58f5deb6b48523d274e0288b0c1f5ddff
integrity: remove unneeded, broken attempt to add -fshort-wchar

I guess commit 75a503d47a82 ("efi: Import certificates from UEFI Secure
Boot") attempted to add -fshort-wchar for building load_uefi.o, but it
has never worked as intended.

load_uefi.o is created in the platform_certs/ sub-directory. If you
really want to add -fshort-wchar, the correct code is:

  $(obj)/platform_certs/load_uefi.o: KBUILD_CFLAGS += -fshort-wchar

But, you do not need to fix it.

Commit e965ec0f7b9c ("Kbuild: use -fshort-wchar globally") had already
added -fshort-wchar globally. This code was unneeded in the first place.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
security/integrity/Makefile