On Sat, Sep 08, 2007, Ralf S. Engelschall wrote:

> On Sat, Sep 08, 2007, Jeff Johnson wrote:
>
> >     - mej: remove -pie flags passed from rpm.spec when configuring zlib
> >     build.
> > [...]
> >   $ cvs diff -u -r1.7.2.1 -r1.7.2.2 configure.ac
> >   --- zlib/configure.ac     18 Aug 2007 12:53:59 -0000      1.7.2.1
> >   +++ zlib/configure.ac     8 Sep 2007 00:00:43 -0000       1.7.2.2
> >   @@ -5,6 +5,8 @@
> >    AM_CONFIG_HEADER([config.h])
> >    AM_INIT_AUTOMAKE([-Wall foreign])
> >
> >   +LDFLAGS=""
> >   +
> >    dnl Check for programs.
> >    AC_PROG_CC
> >    AC_PROG_LIBTOOL
> >   @@ .
>
> Here we have to be careful. This destroys actually _ALL_ LDFLAGS, even
> those the user manually passed in. If it contains some essential flags
> (e.g. some platform specific and essential "-Wl,xxxx") this _COULD_
> break the building. Also, -pie is platform-specific but this hack
> applies to all platforms. Hmmm.... hence we certainly have to make this
> hack less generic....

Ah, sorry, I overlooked that this is on the RPM_4_5 branch.
Ok, sorry, there it might make sense, of course.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to