diff --git a/.ci/templates/steps-build-uhd-make.yml b/.ci/templates/steps-build-uhd-make.yml index 04d910cfdb..b88581c54c 100644 --- a/.ci/templates/steps-build-uhd-make.yml +++ b/.ci/templates/steps-build-uhd-make.yml @@ -60,7 +60,7 @@ steps: fi if [[ "${{ parameters.uhdAllowWarnings }}" = "False" ]]; then echo "Warnings not allowed for this build." - export CXXFLAGS="-Werror -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations $CXXFLAGS" + export CXXFLAGS="-Werror -Wno-error=maybe-uninitialized $CXXFLAGS" fi export CXXFLAGS="${{ parameters.uhdCxxFlags }} $CXXFLAGS" if [[ "${{ parameters.uhdCustomBoostPackage }}" = "True" ]]; then diff --git a/.ci/templates/steps-build-uhd-ninja.yml b/.ci/templates/steps-build-uhd-ninja.yml index 9049422121..48b0a424d3 100644 --- a/.ci/templates/steps-build-uhd-ninja.yml +++ b/.ci/templates/steps-build-uhd-ninja.yml @@ -16,7 +16,7 @@ steps: cd ${{ parameters.uhdBuildDir }} if [[ "${{ parameters.uhdAllowWarnings }}" = "False" ]]; then echo "Warnings not allowed for this build." - export CXXFLAGS="-Werror -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations $CXXFLAGS" + export CXXFLAGS="-Werror -Wno-error=maybe-uninitialized $CXXFLAGS" fi export CXXFLAGS="${{ parameters.uhdCxxFlags }} $CXXFLAGS" cmake -G Ninja ${{ parameters.uhdSrcDir }}/host