You've already forked KernelSU
mirror of
https://github.com/tiann/KernelSU.git
synced 2025-08-27 23:46:34 +00:00
Disable warnings
This commit is contained in:
@@ -74,6 +74,17 @@ jobs:
|
||||
echo "VERSION: $VERSION"
|
||||
echo "kernelsu_version=$VERSION" >> $GITHUB_ENV
|
||||
|
||||
- name: Disable compiler warnings
|
||||
working-directory: kernel
|
||||
run: |
|
||||
makefiles="$(find . -type f -name Makefile | tr "\n" ' ') $(find . -type f -name Kbuild | tr "\n" ' ')"
|
||||
|
||||
for i in $makefiles; do
|
||||
sed -i 's/-Werror=/-Wno-error=/g' "$i"
|
||||
sed -i 's/-Werror/-w/g' "$i"
|
||||
sed -i 's/-Wall/-w/g' "$i"
|
||||
done
|
||||
|
||||
- name: Build Kernel
|
||||
working-directory: kernel
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user