mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
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.
This commit is contained in:
6
wscript
6
wscript
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user