From e4cdd74f02eaeea96348dc51534eff8e03d87697 Mon Sep 17 00:00:00 2001 From: Tim Deegan Date: Mon, 7 Mar 2011 11:34:09 +0000 Subject: xen: add "lto=y" option to build Xen with link-time optimizations. This involves gathering object files from .asm (which will be binary) and object files from .c (which will be in LTO format) separately until the final link. Only tested for x86_64 Xen builds using Clang/LLVM bitcode; it should be possible to do the same with newer GCCs and GIMPLE. Signed-off-by: Tim Deegan Acked-by: Keir Fraser --- xen/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xen/Makefile') diff --git a/xen/Makefile b/xen/Makefile index 64f73cb64c..d38caf102c 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -159,4 +159,4 @@ FORCE: $(MAKE) -f $(BASEDIR)/Rules.mk -C $(*D) $(@F) %/: FORCE - $(MAKE) -f $(BASEDIR)/Rules.mk -C $* built_in.o + $(MAKE) -f $(BASEDIR)/Rules.mk -C $* built_in.o built_in_bin.o -- cgit v1.2.3