This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] configure.in: revert osf5.1 no-noncurses special case


On Fri, May 07, 2004 at 08:11:35PM -0400, Michael Chastain wrote:
> Daniel Jacobowitz suggests:
> 
>   CPPFLAGS="-I$MIGCHAIN_DIR_INSTALL/host/ncurses-5.4/include" \
>    LDFLAGS="-L$MIGCHAIN_DIR_INSTALL/host/ncurses-5.4/lib" \
>    $src/configure
> 
> This doesn't work for me.  Looking in build.log, nothing is
> using my value of LDFLAGS at all.

That doesn't make sense; CPPFLAGS I expect some directories to skip,
but LDFLAGS is standard.  Check gdb/Makefile; did LDFLAGS get
substituted in properly?

> Also, some directories are not using my value of CPPFLAGS.
> Here's a list:
> 
>   honors $CPPFLAGS
>     intl bfd opcodes readline
>   no $CPPFLAGS
>     libiberty mmalloc gdb
> 
> Should I file a PR for this?
> 
> I don't know enough auto-fu to enhance gdb/Makefile.in and
> gdb/configure.in to honor $CPPFLAGS and $LDFLAGS.

It's not hard.  File a PR, I'll try to take care of it soon.

-- 
Daniel Jacobowitz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]