aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/root.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/root.build b/build/root.build
index 85f69a1..0d887ec 100644
--- a/build/root.build
+++ b/build/root.build
@@ -11,8 +11,6 @@ ixx{*}: extension = ixx
txx{*}: extension = txx
cxx{*}: extension = cxx
-cxx.poptions =+ "-I$out_root" "-I$src_root"
-
# 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
@@ -21,9 +19,11 @@ cxx.poptions =+ "-I$out_root" "-I$src_root"
#
using? cli
-# All exe{} in unit-tests/ are, well, tests.
+# All exe{} in unit-tests/ are, well, tests. Also don't link whole archives
+# by default there.
#
unit-tests/exe{*}: test = true
+unit-tests/libu{*}: bin.whole = false
# Specify the test target for cross-testing.
#