From d0abb64efc2a0e77fb76aa2014058a3a6b528508 Mon Sep 17 00:00:00 2001 From: Mister Oyster Date: Sun, 28 May 2017 00:25:00 +0200 Subject: makefile: reorganize cflags --- Makefile | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 7d49509b8..d0b291fad 100644 --- a/Makefile +++ b/Makefile @@ -375,18 +375,17 @@ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -Werror-implicit-function-declaration \ -Wno-format-security \ -fno-delete-null-pointer-checks \ - -Werror=format -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast \ - -mtune=cortex-a53 \ - -march=armv8-a \ - -std=gnu89 + -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 \ - -Wno-format-security \ - -fno-delete-null-pointer-checks \ - -Werror=format -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast \ - -std=gnu89 + -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 endif KBUILD_AFLAGS_KERNEL := -- cgit v1.2.3