From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3jZm-0004pD-FM for qemu-devel@nongnu.org; Thu, 16 Jan 2014 04:49:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3jZg-00069d-FY for qemu-devel@nongnu.org; Thu, 16 Jan 2014 04:49:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3jZg-00069Z-7w for qemu-devel@nongnu.org; Thu, 16 Jan 2014 04:49:20 -0500 From: Fam Zheng Date: Thu, 16 Jan 2014 17:48:27 +0800 Message-Id: <1389865712-27325-6-git-send-email-famz@redhat.com> In-Reply-To: <1389865712-27325-1-git-send-email-famz@redhat.com> References: <1389865712-27325-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v17 05/10] darwin: do not use -mdynamic-no-pic List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, peter.maydell@linaro.org, stefanha@redhat.com, mjt@tls.msk.ru, alex@alex.org.uk, pbonzini@redhat.com, mrezanin@redhat.com, vilanova@ac.upc.edu, rth@twiddle.net From: Paolo Bonzini While -mdynamic-no-pic can speed up the code somewhat, it is only used on the legacy PowerPC Mac OS X, and I am not sure if anyone is still testing that. Disabling PIC can cause problems when enabling modules, so do not do that. Signed-off-by: Paolo Bonzini Signed-off-by: Fam Zheng --- configure | 2 -- 1 file changed, 2 deletions(-) diff --git a/configure b/configure index 9d71867..99434e6 100755 --- a/configure +++ b/configure @@ -516,8 +516,6 @@ Darwin) if [ "$cpu" = "x86_64" ] ; then QEMU_CFLAGS="-arch x86_64 $QEMU_CFLAGS" LDFLAGS="-arch x86_64 $LDFLAGS" - else - QEMU_CFLAGS="-mdynamic-no-pic $QEMU_CFLAGS" fi cocoa="yes" audio_drv_list="coreaudio" -- 1.8.5.3