|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xen/lto: if the makefile asks for binary,
# 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 <=
|
|
|
|
|