diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2019-10-17 12:31:17 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2019-10-17 12:31:17 +0100 |
commit | 433a3b1ff9b60f4baf7c30f2e1908b9629968a41 (patch) | |
tree | 4169612875f3118c36dc64c7607899df3d2df3a4 /config.mk.dist | |
parent | 3d7ecfe37c0c05462f454940f515eb3ce726c5bc (diff) | |
download | arm-optimized-routines-433a3b1ff9b60f4baf7c30f2e1908b9629968a41.tar.gz |
Add -Werror=implicit-function-declaration
Implicit function declaration is always a bug, but compilers don't
turn it into an error by default for historical reasons, so add it
to the default config.
Diffstat (limited to 'config.mk.dist')
-rw-r--r-- | config.mk.dist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mk.dist b/config.mk.dist index 29d1d14..a923d7d 100644 --- a/config.mk.dist +++ b/config.mk.dist @@ -10,6 +10,7 @@ HOST_CFLAGS += -Wall -Wno-unused-function CC = $(CROSS_COMPILE)gcc CFLAGS = -std=c99 -pipe -O3 CFLAGS += -Wall -Wno-missing-braces +CFLAGS += -Werror=implicit-function-declaration # Enable debug info. HOST_CFLAGS += -g |