From 1c7cbb302b1c6e41eb0c5cecfc655532f1919cba Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 28 Jul 2017 13:46:26 +0200 Subject: Implement support for linking whole archive --- build2/cc/types.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build2/cc/types.hxx') 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{}. } } -- cgit v1.1