[CI][linux-kernel] Enable -Wunused-const-variable and -Wunused-but-set-variable
This commit is contained in:
1 parent
dec7fb03ec
commit
a70fa342f0
2 files changed
+2
-2
No files matched your search
@@ -10,4 +10,4 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Create linux kernel library + build + test
|
||||
run: make -C contrib/linux-kernel test
|
||||
run: make -C contrib/linux-kernel test CFLAGS="-Werror -Wunused-const-variable -Wunused-but-set-variable"
|
||||
@@ -65,7 +65,7 @@ import: libzstd
|
||||
|
||||
.PHONY: test
|
||||
test: libzstd
|
||||
$(MAKE) -C test run-test CFLAGS="-O3" -j
|
||||
$(MAKE) -C test run-test CFLAGS="-O3 $(CFLAGS)" -j
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
||||
Reference in new issue
Block a user