From a13047ca0e965136815a77ee2651d5e7821b59f7 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 27 Jun 2022 11:28:34 +0200 Subject: build: Allow separate optimization flags Allow separate optimization flags for the BSP, cpukit, and tests. For example, the BSP and cpukit may be built without optimization if coverage instrumentation is enabled, however, the tests may still use optimization. Update #4670. --- spec/build/testsuites/grp.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'spec/build/testsuites/grp.yml') diff --git a/spec/build/testsuites/grp.yml b/spec/build/testsuites/grp.yml index 82c7b87f2e..18c8ccd4d8 100644 --- a/spec/build/testsuites/grp.yml +++ b/spec/build/testsuites/grp.yml @@ -1,10 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: group -cflags: [] +cflags: +- ${TEST_OPTIMIZATION_FLAGS} copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) cppflags: [] -cxxflags: [] +cxxflags: +- ${TEST_OPTIMIZATION_FLAGS} enabled-by: true includes: - ${BSP_INCLUDES} -- cgit v1.2.3