From cbf8b604668ab842cc3a4fb29307675e6cc302e9 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Thu, 6 Feb 2020 10:59:18 +0100 Subject: [PATCH] ci: re-add the lost PEDANTIC_{C,CXX}FLAGS in CMake example builds --- tools/ci/build_examples_cmake.sh | 3 +++ 1 file changed, 3 insertions(+) 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