diff --git a/tools/ci/build_examples_cmake.sh b/tools/ci/build_examples_cmake.sh index 032a8bbe8..2974954d9 100755 --- a/tools/ci/build_examples_cmake.sh +++ b/tools/ci/build_examples_cmake.sh @@ -43,6 +43,9 @@ if [ -z ${CI_NODE_INDEX} ]; then echo "Assuming CI_NODE_INDEX=${CI_NODE_INDEX}" fi +export EXTRA_CFLAGS="${PEDANTIC_CFLAGS:-}" +export EXTRA_CXXFLAGS="${PEDANTIC_CXXFLAGS:-}" + set -o nounset # Exit if variable not set. export REALPATH=realpath