aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMister Oyster <oysterized@gmail.com>2017-05-28 00:25:00 +0200
committerMister Oyster <oysterized@gmail.com>2017-05-28 00:25:00 +0200
commitd0abb64efc2a0e77fb76aa2014058a3a6b528508 (patch)
tree58b095ab1c3e8da283b66d8ea36cbde5dd83ccd0
parent811bdefa14e396d59cc7a2402099777ad47287f6 (diff)
makefile: reorganize cflags
-rw-r--r--Makefile19
1 files 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 :=