summaryrefslogtreecommitdiff
path: root/Module_tail_build.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-08-24 12:17:31 +0100
committerMichael Meeks <michael.meeks@novell.com>2011-08-24 14:23:43 +0100
commit75fac9839793f73c9833489f1d70bf4136881cbf (patch)
tree30c20c8b5924f84439e1b3b122cde6b8193831e6 /Module_tail_build.mk
parent9ba447cec165946ed8b9e719c4a9ee318f9b051b (diff)
Add support for creating merged library.
This commit allows to set which libraries to merge and creates merged library in tail_build if enabled. This should save time when loading libraries in application and also makes more sense for link-time optimization. Signed-off-by: Michael Meeks <michael.meeks@novell.com>
Diffstat (limited to 'Module_tail_build.mk')
-rw-r--r--Module_tail_build.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/Module_tail_build.mk b/Module_tail_build.mk
index 2cf5cdba0d3a..8408cd875544 100644
--- a/Module_tail_build.mk
+++ b/Module_tail_build.mk
@@ -51,4 +51,10 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\
writerperfect \
))
+ifeq ($(MERGELIBS),YES)
+$(eval $(call gb_Module_add_targets,tail_end,\
+ Library_merged \
+))
+endif
+
# vim: set noet sw=4 ts=4: