From: Ian Jackson Date: Thu, 31 Jul 2008 15:17:41 +0000 (+0100) Subject: cross-build fix re -msse2 flag and cc-option X-Git-Tag: xen-3.3.0-rc3~11 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=fa5278eddde38d97fc75cc21fd7bd0bbaab58dbe;p=qemu-xen-4.0-testing.git cross-build fix re -msse2 flag and cc-option - The ioemu version of cc-option doesn't take $(CC) as the first argument, so all builds were getting -msse2 regardless of architecture. Signed-off-by: Aron Griffis --- diff --git a/xen-hooks.mak b/xen-hooks.mak index b131397f..8e2a7fb7 100644 --- a/xen-hooks.mak +++ b/xen-hooks.mak @@ -3,7 +3,7 @@ CPPFLAGS+= -I$(XEN_ROOT)/tools/xenstore CPPFLAGS+= -I$(XEN_ROOT)/tools/include CPPFLAGS+= -I$(XEN_ROOT)/tools/blktap/lib -SSE2 := $(call cc-option,$(CC),-msse2,) +SSE2 := $(call cc-option,-msse2,) ifeq ($(SSE2),-msse2) CFLAGS += -DUSE_SSE2=1 -msse2 endif