diff --git a/scripts/mod/Makefile b/scripts/mod/Makefile index 78071681d924225d7b6083de13c7c58b031fe07d..c9e38ad937fd4549ceb716e05067f0339005ee56 100644 --- a/scripts/mod/Makefile +++ b/scripts/mod/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 OBJECT_FILES_NON_STANDARD := y +CFLAGS_REMOVE_empty.o += $(CC_FLAGS_LTO) hostprogs-always-y += modpost mk_elfconfig always-y += empty.o