1
0
mirror of https://github.com/facebook/zstd.git synced 2025-08-07 06:23:00 +03:00

[CI][linux-kernel] Enable -Wunused-const-variable and -Wunused-but-set-variable

This commit is contained in:
Nick Terrell
2020-09-23 12:59:23 -07:00
parent dec7fb03ec
commit a70fa342f0
2 changed files with 2 additions and 2 deletions

View File

@@ -10,4 +10,4 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Create linux kernel library + build + test - 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"

View File

@@ -65,7 +65,7 @@ import: libzstd
.PHONY: test .PHONY: test
test: libzstd test: libzstd
$(MAKE) -C test run-test CFLAGS="-O3" -j $(MAKE) -C test run-test CFLAGS="-O3 $(CFLAGS)" -j
.PHONY: clean .PHONY: clean
clean: clean: