From 401d8be0c43f32e76c7dfd7b1dc26427025be148 Mon Sep 17 00:00:00 2001 From: Moyster Date: Fri, 22 Dec 2017 10:49:39 +0100 Subject: cflags: cleanup Makefile & arm64 Makefile (-ftree-vectorize is enabled when building with O3, let's keep it clean) --- Makefile | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bddef50f1..74caccedf 100644 --- a/Makefile +++ b/Makefile @@ -369,16 +369,6 @@ LINUXINCLUDE := \ KBUILD_CPPFLAGS := -D__KERNEL__ -ifdef CONFIG_ARM64 -KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ - -fno-strict-aliasing -fno-common \ - -Werror-implicit-function-declaration \ - -Wno-format-security \ - -fno-delete-null-pointer-checks \ - -std=gnu89 -Werror=format \ - -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast \ - -mtune=cortex-a53 -march=armv8-a -else KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common \ -Werror-implicit-function-declaration \ @@ -386,7 +376,6 @@ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-delete-null-pointer-checks \ -std=gnu89 -Werror=format \ -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -endif KBUILD_AFLAGS_KERNEL := KBUILD_CFLAGS_KERNEL := -- cgit v1.2.3