You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jeff Trawick <tr...@attglobal.net> on 2003/02/19 17:05:02 UTC
[PATCH] Re: question for Apache 1.3 build gurus
Jim Jagielski wrote:
> Jeff Trawick wrote:
>
> >How can a user add to LDFLAGS_SHLIB?
> >
> >I tried setting LDFLAGS_SHLIB outside of configure, but that replaced
> >the necessary AIX additions specified in src/Configure.
> >
> >I tried setting EXTRA_LDFLAGS_SHLIB but that was ignored as far as I
> >could tell.
> >
>
>
> src/Configure is woefully inconsistant regarding the LDFLAGS_SHLIB
> family. You'll need to edit Configure to allow for enhancement
> rather than replacement :(
looks to me that the minimal support for such variables is really
intended to force the user to specify a full replacement
the attached patch adds support for EXTRA_LDFLAGS_SHLIB that allows the
user to add to the hardcoded flags
the lack of such support for the other variables is a glaring
inconsistency, but I'm scared to mess with 1.3 too much
with this, when people hit the lovely gcc issue with unresolved
references to libgcc.a in DSOs they are able to do something like the
following:
EXTRA_LDFLAGS_SHLIB='-L/opt/freeware/GNUPro/lib/gcc-lib/powerpc-ibm-ai1.0.0/2.9-aix43-010414/powerpc
-lgcc' CC=gcc OPTIM='-g' ./configure --enable-module=most
--enable-shared=max --prefix=/jeff/1327
Re: [PATCH] Re: question for Apache 1.3 build gurus
Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
--On Wednesday, February 19, 2003 11:05 AM -0500 Jeff Trawick
<tr...@attglobal.net> wrote:
> the lack of such support for the other variables is a glaring
> inconsistency, but I'm scared to mess with 1.3 too much
Looks fine to me. +1. -- justin