aboutsummaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-12-31 16:03:20 +0200
committeraqua <aqua@iserlohn-fortress.net>2023-01-29 11:41:29 +0200
commitf6b7365dc8759d6df5d340e4a68fb75537c07be4 (patch)
treec15614d8dee445dd4c6ae75da2959c701e69daae /rules.mk
parentMove blake2s selftest to test/ (diff)
downloadkernel-f6b7365dc8759d6df5d340e4a68fb75537c07be4.tar.xz
blake2: use makefiles instead of meson.build
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/rules.mk b/rules.mk
index eebc8b0..333e4f8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -6,8 +6,10 @@ $(foreach V,$(filter %.SRCS, ${.VARIABLES}),\
)
# extra flags
-CFLAGS += -isysteminclude -I../lib
-CXXFLAGS += -isysteminclude -I../lib -Drestrict=__restrict__
+CFLAGS += -isysteminclude -I../lib \
+ -Werror=implicit-function-declaration
+CXXFLAGS += -isysteminclude -I../lib -Drestrict=__restrict__ \
+ -Werror=shadow
# Suffix rules
%.a: