From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: [Mini-OS] Drop useless -fpic flag Date: Wed, 28 Nov 2007 16:35:01 +0000 Message-ID: <20071128163501.GK4083@implementation.uk.xensource.com> References: <20071127111639.GA5243@implementation.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Keir Fraser, le Tue 27 Nov 2007 12:33:23 +0000, a =E9crit : > If it builds without it then it should be fine, I believe. And nobody raised his hand, so here is a patch: Drop useless -fpic flag. Signed-off-by: Samuel Thibault diff -r c555a5f97982 extras/mini-os/arch/x86/arch.mk --- a/extras/mini-os/arch/x86/arch.mk Wed Nov 28 13:36:56 2007 +0000 +++ b/extras/mini-os/arch/x86/arch.mk Wed Nov 28 16:33:37 2007 +0000 @@ -17,7 +17,7 @@ endif endif =20 ifeq ($(TARGET_ARCH),x86_64) -ARCH_CFLAGS :=3D -m64 -mno-red-zone -fpic -fno-reorder-blocks +ARCH_CFLAGS :=3D -m64 -mno-red-zone -fno-reorder-blocks ARCH_CFLAGS +=3D -fno-asynchronous-unwind-tables ARCH_ASFLAGS :=3D -m64 ARCH_LDFLAGS :=3D -m elf_x86_64