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 /wscript | |
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 'wscript')
-rwxr-xr-x | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -625,7 +625,7 @@ class BSPItem(Item): + bld.env.BSP_INCLUDES + self.substitute(bld, self.data["includes"]), self.substitute(bld, self.data["cppflags"]), - self.substitute(bld, self.data["cflags"]), + bld.env.BSP_CFLAGS + self.substitute(bld, self.data["cflags"]), [], [], [], |