aboutsummaryrefslogtreecommitdiff
path: root/bdep/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/buildfile')
-rw-r--r--bdep/buildfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/bdep/buildfile b/bdep/buildfile
index cc71107..f77282a 100644
--- a/bdep/buildfile
+++ b/bdep/buildfile
@@ -47,6 +47,12 @@ hxx{version}: in{version} $src_root/manifest
obj{utility}: cxx.poptions += -DBDEP_EXE_SUFFIX='"'$bin.exe.suffix'"'
+# For now assume this is a staged toolchain if we are building with the staged
+# build system (see build.version.stage for details on the final plan).
+#
+if $build.version.stage
+ cxx.poptions += -DBDEP_STAGE
+
# Disable "unknown pragma" warnings.
#
if ($cxx.class == 'msvc')