aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorEtienne Carriere <etienne.carriere@linaro.org>2019-04-04 09:11:41 +0200
committerJérôme Forissier <jerome.forissier@linaro.org>2019-04-04 16:08:27 +0700
commit330350051db3f96b6edf3abc3e6be8b55c3f70b4 (patch)
treed5ca1ec89a7c61912726cc36c35e45e7dcb4b309 /mk
parentc8eb788975ad4d4e167815aaaae0a6f34d313df4 (diff)
build: remove pedantic from build directives
This change removes -pedantic from the build directive from all warning build level. The rational is that OP-TEE OS package no longer supports being built in pedantic mode allowing now use of implementation sequence that are rejected in pedantic mode, for example using = { } for initializing structured local variables in a structure agnostic way which OP-TEE OS community as agreed to use. Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'mk')
-rw-r--r--mk/compile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/compile.mk b/mk/compile.mk
index 2a712df0..6a2336e1 100644
--- a/mk/compile.mk
+++ b/mk/compile.mk
@@ -40,7 +40,7 @@ comp-cflags-warns-medium = \
-Waggregate-return -Wredundant-decls
comp-cflags-warns-low = \
-Wold-style-definition -Wstrict-aliasing=2 \
- -Wundef -pedantic
+ -Wundef
comp-cflags-warns-1:= $(comp-cflags-warns-high)
comp-cflags-warns-2:= $(comp-cflags-warns-1) $(comp-cflags-warns-medium)