From patchwork Mon Jan 13 16:59:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 310256 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 60DD62C0092 for ; Tue, 14 Jan 2014 04:05:03 +1100 (EST) Received: from localhost ([::1]:43896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2kwf-00037J-1X for incoming@patchwork.ozlabs.org; Mon, 13 Jan 2014 12:05:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2ksM-0005mf-I4 for qemu-devel@nongnu.org; Mon, 13 Jan 2014 12:00:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2ksD-0001ww-M5 for qemu-devel@nongnu.org; Mon, 13 Jan 2014 12:00:34 -0500 Received: from mail-ee0-x230.google.com ([2a00:1450:4013:c00::230]:51966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2ksD-0001wa-Fm for qemu-devel@nongnu.org; Mon, 13 Jan 2014 12:00:25 -0500 Received: by mail-ee0-f48.google.com with SMTP id t10so1579672eei.35 for ; Mon, 13 Jan 2014 09:00:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=7uAhD+Q+uV3w3M6Kx3flLO94qQdedtrrLuVnpAKdJJs=; b=Rlr/WYgxok4p9Ee5bLilVkhyeuoJexsLE1yqHlABXYh0vqnk0CSVLmyE5aJYQ+tuxk DMB32ZMgDhpoEQ/86IX8YWKX8uJwG9jW51ex0ODNRdD6HuQ0MXojLaZXYhmdYFTVWn26 +6qsV/U8GHaKp2bRjnn8z53GgVTRxH74bd0t12SnaZ/N55K/ZMSVOdNfTFaLoscFYLnh eHve2qi9r+krewKGGxxxYOvzE3s0VJyPIbu56emUY3MdGS/W0cS+fU7Eyg27Pa82+pMj Y/l2OIvCsGFr6BGGd4AqajUjqOdFHvATZkVkyI3wM1gySZojzmS9huXM8g+xjMVqeokC GMPA== X-Received: by 10.14.200.197 with SMTP id z45mr5406430een.98.1389632424475; Mon, 13 Jan 2014 09:00:24 -0800 (PST) Received: from localhost.localdomain (net-37-116-210-92.cust.dsl.vodafone.it. [37.116.210.92]) by mx.google.com with ESMTPSA id h3sm41355265eem.15.2014.01.13.09.00.21 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 13 Jan 2014 09:00:23 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 13 Jan 2014 17:59:49 +0100 Message-Id: <1389632394-10130-5-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1389632394-10130-1-git-send-email-pbonzini@redhat.com> References: <1389632394-10130-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::230 Cc: peter.maydell@linaro.org, famz@redhat.com, mjt@tls.msk.ru, alex@alex.org.uk, mrezanin@redhat.com, vilanova@ac.upc.edu, rth@twiddle.net Subject: [Qemu-devel] [PATCH v15 4/9] darwin: do not use -mdynamic-no-pic X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 --- configure | 2 -- 1 files changed, 0 insertions(+), 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"