diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-06-27 11:28:34 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-04 08:29:52 +0200 |
commit | a13047ca0e965136815a77ee2651d5e7821b59f7 (patch) | |
tree | f82623a51ad4b3333e108661c9a2b434d60b8043 /spec/build/cpukit/grp.yml | |
parent | build: Fix optimization flags definition order (diff) | |
download | rtems-a13047ca0e965136815a77ee2651d5e7821b59f7.tar.bz2 |
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.
Diffstat (limited to 'spec/build/cpukit/grp.yml')
-rw-r--r-- | spec/build/cpukit/grp.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/build/cpukit/grp.yml b/spec/build/cpukit/grp.yml index 24aa2f0634..ec9cab2167 100644 --- a/spec/build/cpukit/grp.yml +++ b/spec/build/cpukit/grp.yml @@ -1,10 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: group -cflags: [] +cflags: +- ${CPUKIT_OPTIMIZATION_FLAGS} copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) cppflags: [] -cxxflags: [] +cxxflags: +- ${CPUKIT_OPTIMIZATION_FLAGS} enabled-by: true includes: [] install: [] |