RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm/ configure.ac

From: Dmitry V. Levin <ldv@altlinux.org>
Date: Thu 14 Jun 2007 - 19:45:02 CEST
Message-ID: <20070614174502.GA29920@basalt.office.altlinux.org>
On Thu, Jun 14, 2007 at 07:05:43PM +0200, Ralf S. Engelschall wrote:
>   RPM Package Manager, CVS Repository
>   http://rpm5.org/cvs/
>   ____________________________________________________________________________
> 
>   Server: rpm5.org                         Name:   Ralf S. Engelschall
>   Root:   /v/rpm/cvs                       Email:  rse@rpm5.org
>   Module: rpm                              Date:   14-Jun-2007 19:05:43
>   Branch: HEAD                             Handle: 2007061418054300
> 
>   Modified files:
>     rpm                     configure.ac
> 
>   Log:
>     the GCC -pie option does not work on all platforms where GCC is
>     available. The resulting executables will are linked but cannot be
>     executed (e.g. under FreeBSD). I currently don't know why -pie is used
>     here in RPM, so let's keep it but at least enable it under Linux only

I suppose that runtime check for -fpie/-pie is better.
For example, suitable check could be taken from Linux-PAM's configure.in:
http://git.altlinux.org/people/ldv/packages/?p=pam.git;a=blob_plain;f=Linux-PAM/configue.in;hb=cvs


-- 
ldv


  • application/pgp-signature attachment: stored
Received on Thu Jun 14 20:16:29 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.