mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
stubdom: remove EXTRA_CFLAGS meant for building tools
When building stubdoms EXTRA_CFLAGS_XEN_TOOLS and EXTRA_CFLAGS_QEMU_TRADITIONAL should be cleared as they might contain flags not suitable for all stubdom builds (e.g. "-m64" often to be found in $RPM_OPT_FLAGS will break building 32 bit stubdoms). Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: Wei Liu <wei.liu2@citrix.com> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
This commit is contained in:
1 parent
d290e32517
commit
cbe2ecccac
1 file changed
+4
@@ -4,6 +4,10 @@ MINI_OS = $(XEN_ROOT)/extras/mini-os
|
||||
export XEN_ROOT
|
||||
export XEN_OS=MiniOS
|
||||
|
||||
# Remove flags which are meant for tools, e.g. "-m64"
|
||||
export EXTRA_CFLAGS_XEN_TOOLS=
|
||||
export EXTRA_CFLAGS_QEMU_TRADITIONAL=
|
||||
|
||||
export stubdom=y
|
||||
export debug=y
|
||||
# Moved from config/StdGNU.mk
|
||||
|
||||