kernels 5.15 also need GCC 11.2

Fix error: unrecognized command-line option ‘-mharden-sls=all’
This commit is contained in:
Carlos Garcés 2022-08-15 19:12:35 +00:00
parent 6ba1f32096
commit 2627a1dc9c

View File

@ -37,7 +37,7 @@ jobs:
shell: bash {0} shell: bash {0}
run: | run: |
echo ::set-output name=skip_build::False echo ::set-output name=skip_build::False
dpkg --compare-versions "${{matrix.kernel_version}}" "ge" "5.17" dpkg --compare-versions "${{matrix.kernel_version}}" "ge" "5.15"
if [ $? -eq "0" ] && [ ${{matrix.gcc_version}} -lt 11 ]; if [ $? -eq "0" ] && [ ${{matrix.gcc_version}} -lt 11 ];
then then
echo "GCC version not compatible" echo "GCC version not compatible"