diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-05-17 15:17:10 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-06-08 18:56:02 +0900 |
commit | f3a53f7b5740b0cd411262ee56a0fb7248199d3a (patch) | |
tree | 8b4bc5f1205a501c9f292a767a33f7a85d97fe9d /arch/arm64/Makefile | |
parent | 469cb7376c067bc6203de4ceed253c10fe712542 (diff) | |
download | blackbird-op-linux-f3a53f7b5740b0cd411262ee56a0fb7248199d3a.tar.gz blackbird-op-linux-f3a53f7b5740b0cd411262ee56a0fb7248199d3a.zip |
arm64: move GCC version check for ARCH_SUPPORTS_INT128 to Kconfig
This becomes much neater in Kconfig.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'arch/arm64/Makefile')
-rw-r--r-- | arch/arm64/Makefile | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index 3c353b4715dc..45272266dafb 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -56,12 +56,6 @@ KBUILD_AFLAGS += $(lseinstr) $(brokengasinst) KBUILD_CFLAGS += $(call cc-option,-mabi=lp64) KBUILD_AFLAGS += $(call cc-option,-mabi=lp64) -ifeq ($(cc-name),clang) -KBUILD_CFLAGS += -DCONFIG_ARCH_SUPPORTS_INT128 -else -KBUILD_CFLAGS += $(call cc-ifversion, -ge, 0500, -DCONFIG_ARCH_SUPPORTS_INT128) -endif - ifeq ($(CONFIG_CPU_BIG_ENDIAN), y) KBUILD_CPPFLAGS += -mbig-endian CHECKFLAGS += -D__AARCH64EB__ |