aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/types.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-28 13:46:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-28 13:46:26 +0200
commit1c7cbb302b1c6e41eb0c5cecfc655532f1919cba (patch)
tree84375e8be2bfe00b2387f02cab8dcca396019299 /build2/cc/types.hxx
parent24402ed431c1780914576f72350f8796308cb59b (diff)
Implement support for linking whole archive
Diffstat (limited to 'build2/cc/types.hxx')
-rw-r--r--build2/cc/types.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/build2/cc/types.hxx b/build2/cc/types.hxx
index b575dc7..48ffa05 100644
--- a/build2/cc/types.hxx
+++ b/build2/cc/types.hxx
@@ -91,6 +91,12 @@ namespace build2
otype type;
lorder order;
};
+
+ // Prerequisite link flags.
+ //
+ using lflags = uintptr_t; // To match prerequisite_target::data.
+
+ const lflags lflag_whole = 0x00000001U; // Link whole liba{}/libux{}.
}
}