summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>2018-03-20 11:04:51 +0100
committerChristoph Muellner <christoph.muellner@theobroma-systems.com>2018-04-27 08:28:28 +0200
commit15864540ddbda53071c5a85efaeccbee159836da (patch)
treedf804495df353033abeed44211298dfdc41ffbe1
parent01d088a6b03082d684960fdf0787afedddf01c16 (diff)
arm64: Makefile: Add "-pipe" to CFLAGS to speed up the build.
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
-rw-r--r--arch/arm64/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index 55fb91420ebc..a8f6aa92a144 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -59,6 +59,9 @@ KBUILD_AFLAGS += $(call cc-option,-mabi=lp64)
KBUILD_CFLAGS += $(call cc-ifversion, -ge, 0500, -DCONFIG_ARCH_SUPPORTS_INT128)
+# Speed up the build
+KBUILD_CFLAGS += -pipe
+
ifeq ($(CONFIG_CPU_BIG_ENDIAN), y)
KBUILD_CPPFLAGS += -mbig-endian
CHECKFLAGS += -D__AARCH64EB__