Revert "ANDROID: HACK: arm64, LLVMLinux: use -mno-implicit-float"

This reverts commit 1416d1c439.

Unnecessary with Clang 6.0+.

Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Change-Id: I6f29ca050566e9027e51605e64bf6893602344ef
fourteen
Danny Lin 6 years ago committed by Simon1511
parent e0a8cc78d4
commit 7bbfbaea51
  1. 9
      arch/arm64/Makefile

@ -58,14 +58,7 @@ $(warning Detected assembler with broken .inst; disassembly will be unreliable)
endif
endif
ifeq ($(cc-name),clang)
# This is a workaround for https://bugs.llvm.org/show_bug.cgi?id=30792.
# TODO: revert when this is fixed in LLVM.
KBUILD_CFLAGS += -mno-implicit-float
else
KBUILD_CFLAGS += -mgeneral-regs-only
endif
KBUILD_CFLAGS += $(lseinstr) $(brokengasinst)
KBUILD_CFLAGS += -mgeneral-regs-only $(lseinstr) $(brokengasinst)
KBUILD_CFLAGS += -fno-asynchronous-unwind-tables
KBUILD_CFLAGS += $(call cc-option, -mpc-relative-literal-loads)
KBUILD_CFLAGS += -fno-pic

Loading…
Cancel
Save