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 -r220.127.116.11 -r18.104.22.168 configure.ac
> > --- zlib/configure.ac 18 Aug 2007 12:53:59 -0000 22.214.171.124
> > +++ zlib/configure.ac 8 Sep 2007 00:00:43 -0000 126.96.36.199
> > @@ -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
Received on Sat Sep 8 09:27:51 2007