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