From 019ed63420db1fba783b1f664de2d340853bd55c Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Thu, 22 Jan 2015 11:34:16 +0000 Subject: [PATCH] XXX hack: force os to be NetBSD This needs to be properly upstreamed to QEMU build system. --- configure | 4 +++- include/qemu-common.h | 5 ----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 779623a645..777dd67d11 100755 --- a/configure +++ b/configure @@ -448,6 +448,8 @@ else targetos=`uname -s` fi +targetos='NetBSD' + # Some host OSes need non-standard checks for which CPU to use. # Note that these checks are broken for cross-compilation: if you're # cross-compiling to one of these OSes then you'll need to specify @@ -587,7 +589,7 @@ DragonFly) ;; NetBSD) bsd="yes" - make="${MAKE-gmake}" + # make="${MAKE-gmake}" audio_drv_list="oss" audio_possible_drivers="oss sdl esd" oss_lib="-lossaudio" diff --git a/include/qemu-common.h b/include/qemu-common.h index f8622141a8..73dbbe9956 100644 --- a/include/qemu-common.h +++ b/include/qemu-common.h @@ -446,11 +446,6 @@ void qemu_hexdump(const char *buf, FILE *fp, const char *prefix, size_t size); /* altivec.h may redefine the bool macro as vector type. * Reset it to POSIX semantics. */ #define bool _Bool -#elif defined __SSE2__ -#include -#define VECTYPE __m128i -#define SPLAT(p) _mm_set1_epi8(*(p)) -#define ALL_EQ(v1, v2) (_mm_movemask_epi8(_mm_cmpeq_epi8(v1, v2)) == 0xFFFF) #else #define VECTYPE unsigned long #define SPLAT(p) (*(p) * (~0UL / 255)) -- 2.39.5