aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.ci/templates/steps-build-uhd-make.yml2
-rw-r--r--.ci/templates/steps-build-uhd-ninja.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.ci/templates/steps-build-uhd-make.yml b/.ci/templates/steps-build-uhd-make.yml
index b88581c54..04d910cfd 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 $CXXFLAGS"
+ export CXXFLAGS="-Werror -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations $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 48b0a424d..904942212 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 $CXXFLAGS"
+ export CXXFLAGS="-Werror -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations $CXXFLAGS"
fi
export CXXFLAGS="${{ parameters.uhdCxxFlags }} $CXXFLAGS"
cmake -G Ninja ${{ parameters.uhdSrcDir }}/host