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-04 14:52:35 +0200
commit9d3af8fa852ba5014ffdba89cbe41be84bb2e848 (patch)
treea1879758912058dcf499dda855889561596b29e5
parent289b50696df036db1228d7247f8b8b743f3eda13 (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__