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:
Juergen Gross authored and Wei Liu committed 2016-12-03 15:55:35 +00:00
1 parent d290e32517
commit cbe2ecccac
1 file changed
+4
+4
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.