From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCkgK-00014o-1t for qemu-devel@nongnu.org; Mon, 10 Feb 2014 01:49:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCkgE-0005cz-24 for qemu-devel@nongnu.org; Mon, 10 Feb 2014 01:49:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCkgD-0005ct-QR for qemu-devel@nongnu.org; Mon, 10 Feb 2014 01:49:21 -0500 From: Fam Zheng Date: Mon, 10 Feb 2014 14:48:55 +0800 Message-Id: <1392014941-15505-6-git-send-email-famz@redhat.com> In-Reply-To: <1392014941-15505-1-git-send-email-famz@redhat.com> References: <1392014941-15505-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v20 05/11] 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: peter.maydell@linaro.org, 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 bfc8636..0e62059 100755 --- a/configure +++ b/configure @@ -517,8 +517,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.4