aboutsummaryrefslogtreecommitdiff
path: root/bdep/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-10-31 10:47:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-10-31 10:47:40 +0200
commitb76178a33178a6385bf0a9ee695b54e7992117a1 (patch)
tree61c1d963983423029958fd828413a62c604a2d13 /bdep/buildfile
parent99fe901f2148b3f9ba6569fa92c1c88deef1dff5 (diff)
Send CI requests from staged toolchain to ci.stage.build2.org
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')