aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/root.build5
-rw-r--r--tests/build/root.build5
2 files changed, 3 insertions, 7 deletions
diff --git a/build/root.build b/build/root.build
index 734fcbd..b21eecd 100644
--- a/build/root.build
+++ b/build/root.build
@@ -19,11 +19,6 @@ if ($cxx.class == 'msvc')
cxx.poptions =+ "-I$out_root" "-I$src_root"
-# While we don't have any C sources to compile we do run C tests (bdep-new)
-# which need the path to the C compiler.
-#
-using c
-
# Load the cli module but only if it's available. This way a distribution
# that includes pre-generated files can be built without installing cli.
# This is also the reason why we need to explicitly spell out individual
diff --git a/tests/build/root.build b/tests/build/root.build
index b725dbc..f2694b7 100644
--- a/tests/build/root.build
+++ b/tests/build/root.build
@@ -2,9 +2,10 @@
# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-# We need to configure C++ module to pass the compiler path to some of bdep
-# test commands.
+# We need to configure C/C++ modules to pass the compiler paths to some of
+# bdep test commands.
#
+using c
using cxx
# Setup the bdep that we are testing.