WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xen/lto: if the makefile asks for binary,

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xen/lto: if the makefile asks for binary, always build binary
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Sat, 09 Apr 2011 09:20:24 +0100
Delivery-date: Sat, 09 Apr 2011 01:25:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxx>
# Date 1302185312 -3600
# Node ID c57db8978bf669580f502302af240f13d22e244c
# Parent  76ac8a4b8daea08ac55a59e4616a471c3db2cd6f
xen/lto: if the makefile asks for binary, always build binary

even if the source is a C file.

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Acked-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 76ac8a4b8dae -r c57db8978bf6 xen/Rules.mk
--- a/xen/Rules.mk      Thu Apr 07 15:08:05 2011 +0100
+++ b/xen/Rules.mk      Thu Apr 07 15:08:32 2011 +0100
@@ -112,6 +112,9 @@
 obj-bin-y :=
 endif
 
+# Always build obj-bin files as binary even if they come from C source. 
+$(obj-bin-y): CFLAGS := $(filter-out -flto,$(CFLAGS))
+
 built_in.o: $(obj-y)
 ifeq ($(obj-y),)
        $(CC) $(CFLAGS) -c -x c /dev/null -o $@

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xen/lto: if the makefile asks for binary, always build binary, Xen patchbot-unstable <=