Received: from eggs.gnu.org ([2001:4830:134:3::10]:44173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEMF1-0005RB-MK for qemu-devel@nongnu.org; Sat, 18 Jun 2016 15:49:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEMEz-0008QL-TX for qemu-devel@nongnu.org; Sat, 18 Jun 2016 15:49:14 -0400 Received: from qemu.weilnetz.de ([2a03:4000:2:362::1]:52359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEMEz-0008QE-My for qemu-devel@nongnu.org; Sat, 18 Jun 2016 15:49:13 -0400 From: Stefan Weil Date: Sat, 18 Jun 2016 21:49:09 +0200 Message-Id: <1466279349-28865-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] configure: Don't run AVX optimization requirement check on Mac OS X List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developer Cc: Peter Maydell , Stefan Weil The test currently only works with ELF and requires readelf, but OS X does not use ELF binaries. Signed-off-by: Stefan Weil --- configure | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure b/configure index 10cb212..89ffd28 100755 --- a/configure +++ b/configure @@ -1778,6 +1778,11 @@ fi ########################################## # avx2 optimization requirement check +# This check currently only works for hosts with ELF, +# so don't run it on Darwin. + +if [ "$darwin" != "yes" ] ; then + cat > $TMPC << EOF #pragma GCC push_options #pragma GCC target("avx2") @@ -1797,6 +1802,8 @@ if compile_object "" ; then fi fi +fi # "$darwin" != "yes" + ######################################### # zlib check -- 2.1.4