mirror of
https://github.com/versity/scoutfs.git
synced 2026-07-29 03:23:13 +00:00
scoutfs: add -Werror for build errors
We insist on a warning free build but it's up to human diligence to discover and address warnings. We've also caught errors when compilers in automated testing saw problems that the compilers in developer environments didn't. That is, a human only could have noticed by investigating the output from successful test runs. Let's put some weight behind our promise of a warning free build and turn gcc warnings into errors. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
+2
-1
@@ -17,7 +17,8 @@ SCOUTFS_GIT_DESCRIBE := \
|
||||
echo not-in-a-git-repository)
|
||||
|
||||
SCOUTFS_ARGS := SCOUTFS_GIT_DESCRIBE=$(SCOUTFS_GIT_DESCRIBE) \
|
||||
CONFIG_SCOUTFS_FS=m -C $(SK_KSRC) M=$(CURDIR)/src
|
||||
CONFIG_SCOUTFS_FS=m -C $(SK_KSRC) M=$(CURDIR)/src \
|
||||
EXTRA_CFLAGS=-Werror
|
||||
|
||||
all: module
|
||||
|
||||
|
||||
Reference in New Issue
Block a user