httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <>
Subject [SUGGEST] make should pass compile flags
Date Tue, 19 Aug 1997 11:54:10 GMT
When currently I try to hunt down a bug (core dump in authentication), I
need an apache with -g debug symbols. It used to be possible to generate
one by doing:
    > rm http_request.o
    > make OPTIM=-g
This doesn't work anymore since the top level make doesn't pass the OPTIM
settings to the subordinate make's. One solution is right now
    > rm core/http_request.o
    > make MAKE="make OPTIM=-g"
but this is rather clumsy. Shouldn't all of src/Makefile's macros...
be passed down to lower make's? It seems to be done correctly for
regex/libregex.a and modules/, but not for support/, core/ and os/.

Find a suggested patch passing CC, RANLIB and CFLAGS appended to this mail.

| S I E M E N S |  <>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

View raw message