mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
ANDROID: HACK: arm64, LLVMLinux: use -mno-implicit-float
LLVM issue 30792 causes clang's AArch64 backend to fail compiling arch/arm64/crypto/aes-ce-cipher.c. Replacing -mgeneral-regs-only with -mno-implicit-float is the suggested workaround. Change-Id: I229c5e9cb7306391afcc1819604662db54216a99 Signed-off-by: Greg Hackmann <ghackmann@google.com> Git-commit: bdc3dd9f0a5cd2c3d36a95621199b4a10fa799bc Git-repo: https://android.googlesource.com/kernel/common/ Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org> Signed-off-by: Channagoud Kadabi <ckadabi@codeaurora.org> Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
This commit is contained in:
parent
4b4a6295c1
commit
1210d2329b
1 changed files with 6 additions and 1 deletions
|
|
@ -49,7 +49,12 @@ $(warning Detected assembler with broken .inst; disassembly will be unreliable)
|
|||
endif
|
||||
endif
|
||||
|
||||
KBUILD_CFLAGS += -mgeneral-regs-only $(lseinstr) $(brokengasinst)
|
||||
ifdef CONFIG_CC_IS_CLANG
|
||||
KBUILD_CFLAGS += -mno-implicit-float
|
||||
else
|
||||
KBUILD_CFLAGS += -mgeneral-regs-only
|
||||
endif
|
||||
KBUILD_CFLAGS += $(lseinstr) $(brokengasinst)
|
||||
KBUILD_CFLAGS += -fno-asynchronous-unwind-tables
|
||||
KBUILD_AFLAGS += $(lseinstr) $(brokengasinst)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue