summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rwxr-xr-xwscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/wscript b/wscript
index 6ad230aca5..9894dcd7fd 100755
--- a/wscript
+++ b/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,