diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-06-27 15:45:54 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-04 08:29:52 +0200 |
commit | 42da08dd9d0fa34b047625e570049e2546e17acf (patch) | |
tree | 89836af9f49627cc99dc1cd5e37a48a1de84919e /wscript | |
parent | build: Improve value substitution (diff) | |
download | rtems-42da08dd9d0fa34b047625e570049e2546e17acf.tar.bz2 |
build: Add cppflags, cflags, cxxflags to groups
Propagate the group defined cppflags, cflags, and cxxflags from parent groups
to child items through the build item context.
Update #4670.
Diffstat (limited to 'wscript')
-rwxr-xr-x | wscript | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -520,9 +520,9 @@ class GroupItem(Item): def prepare_build(self, bld, bic): return BuildItemContext( bic.includes + self.substitute(bld, self.data["includes"]), - bic.cppflags, - bic.cflags, - bic.cxxflags, + bic.cppflags + self.substitute(bld, self.data["cppflags"]), + bic.cflags + self.substitute(bld, self.data["cflags"]), + bic.cxxflags + self.substitute(bld, self.data["cxxflags"]), self.data["use-before"] + bic.use + self.data["use-after"], bic.ldflags + self.substitute(bld, self.data["ldflags"]), bic.objects, |