aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2013-08-07 16:49:39 +0200
committerJan Beulich <jbeulich@suse.com>2013-08-07 16:49:39 +0200
commitd6f846985f4edf2d341f6daa70becc918a555048 (patch)
tree48a53e5016666fa4a8ae9438e052c262446efc91
parentb20db11e11897d0a65f07d299ab185c984d93ba3 (diff)
downloadxen-d6f846985f4edf2d341f6daa70becc918a555048.tar.gz
xen-d6f846985f4edf2d341f6daa70becc918a555048.tar.bz2
xen-d6f846985f4edf2d341f6daa70becc918a555048.zip
adjust x86 EFI build
While the rule to generate .init.o files from .o ones already correctly included $(extra-y), the setting of the necessary compiler flag didn't have the same. With some yet to be posted patch this resulted in build breakage because of the compiler deciding not to inline a few functions (which then results in .text not being empty as required for these object files). Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org> master commit: 5656b93d215d7c5160790ea87758625ba1de16b1 master date: 2013-07-10 10:03:40 +0200
-rw-r--r--xen/Rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index 3f0b262228..4d182b9006 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -101,7 +101,7 @@ obj-y := $(patsubst %/,%/built-in.o,$(obj-y))
subdir-all := $(subdir-y) $(subdir-n)
-$(filter %.init.o,$(obj-y) $(obj-bin-y)): CFLAGS += -DINIT_SECTIONS_ONLY
+$(filter %.init.o,$(obj-y) $(obj-bin-y) $(extra-y)): CFLAGS += -DINIT_SECTIONS_ONLY
$(obj-$(coverage)): CFLAGS += -fprofile-arcs -ftest-coverage -DTEST_COVERAGE