aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/cc/compile-rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx
index 985b171..d40638c 100644
--- a/libbuild2/cc/compile-rule.cxx
+++ b/libbuild2/cc/compile-rule.cxx
@@ -6137,7 +6137,7 @@ namespace build2
if (m.name == "std" || m.name == "std.compat")
{
- otype ot;
+ otype ot (otype::e);
const target* mt (nullptr);
switch (ctype)