]> xenbits.xensource.com Git - qemu-xen-4.0-testing.git/commitdiff
cross-build fix re -msse2 flag and cc-option
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 31 Jul 2008 15:17:41 +0000 (16:17 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 31 Jul 2008 15:17:41 +0000 (16:17 +0100)
- 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 <aron@hp.com>
xen-hooks.mak

index b131397f268caf7de64a2fe6b0afd9dd90658d3a..8e2a7fb71534617af197d1bc15c86d5f4fd4f841 100644 (file)
@@ -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