mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
FROMLIST: arch/arm64/crypto: disable LTO for aes-ce-cipher.c
LTO requires the use of LLVM's integrated assembler, which doesn't understand the inline assembly in aes-ce-cipher.c. Disable LTO for the file. Bug: 62093296 Bug: 67506682 Change-Id: I7fe82644be0d86420edb4db7923b03dfee87215f (am from https://patchwork.kernel.org/patch/10060315/) Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
This commit is contained in:
@@ -18,7 +18,7 @@ obj-$(CONFIG_CRYPTO_GHASH_ARM64_CE) += ghash-ce.o
|
||||
ghash-ce-y := ghash-ce-glue.o ghash-ce-core.o
|
||||
|
||||
obj-$(CONFIG_CRYPTO_AES_ARM64_CE) += aes-ce-cipher.o
|
||||
CFLAGS_aes-ce-cipher.o += -march=armv8-a+crypto
|
||||
CFLAGS_aes-ce-cipher.o += -march=armv8-a+crypto $(DISABLE_LTO)
|
||||
|
||||
obj-$(CONFIG_CRYPTO_AES_ARM64_CE_CCM) += aes-ce-ccm.o
|
||||
aes-ce-ccm-y := aes-ce-ccm-glue.o aes-ce-ccm-core.o
|
||||
|
||||
Reference in New Issue
Block a user