From patchwork Mon May 3 22:54:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 51536 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D82E6B7D28 for ; Tue, 4 May 2010 08:55:28 +1000 (EST) Received: from localhost ([127.0.0.1]:47348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O94Xt-0005cZ-1B for incoming@patchwork.ozlabs.org; Mon, 03 May 2010 18:55:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O94X2-0005Rv-Qg for qemu-devel@nongnu.org; Mon, 03 May 2010 18:54:32 -0400 Received: from [140.186.70.92] (port=36004 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O94X1-0005Qn-Eh for qemu-devel@nongnu.org; Mon, 03 May 2010 18:54:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O94X0-0007k8-4T for qemu-devel@nongnu.org; Mon, 03 May 2010 18:54:31 -0400 Received: from are.twiddle.net ([75.149.56.221]:47980) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O94Wz-0007jt-VE for qemu-devel@nongnu.org; Mon, 03 May 2010 18:54:30 -0400 Received: from anchor.twiddle.home (anchor.twiddle.home [172.31.0.4]) by are.twiddle.net (Postfix) with ESMTPS id 9B81880C for ; Mon, 3 May 2010 15:54:27 -0700 (PDT) Received: from anchor.twiddle.home (localhost [127.0.0.1]) by anchor.twiddle.home (8.14.4/8.14.4) with ESMTP id o43MsR90017550 for ; Mon, 3 May 2010 15:54:27 -0700 Received: (from rth@localhost) by anchor.twiddle.home (8.14.4/8.14.4/Submit) id o43MsRBl017548 for qemu-devel@nongnu.org; Mon, 3 May 2010 15:54:27 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 3 May 2010 15:54:27 -0700 Message-Id: <1272927267-17515-1-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.7.0.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [Qemu-devel] [PATCH] Fix --enable-user-pie compilation. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org We forgot to propagate -fpie to the libdis-user directory. Signed-off-by: Richard Henderson --- configure | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 87942f4..dc11b65 100755 --- a/configure +++ b/configure @@ -2344,6 +2344,9 @@ for d in libdis libdis-user; do ln -s $source_path/Makefile.dis $d/Makefile echo > $d/config.mak done +if test "$static" = "no" -a "$user_pie" = "yes" ; then + echo "QEMU_CFLAGS+=-fpie" > libdis-user/config.mak +fi for target in $target_list; do target_dir="$target"