aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/root.build b/build/root.build
index f63ff10..363cb62 100644
--- a/build/root.build
+++ b/build/root.build
@@ -21,9 +21,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.
#