This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] configure.in: revert osf5.1 no-noncurses special case
- From: Daniel Jacobowitz <drow at false dot org>
- To: Michael Elizabeth Chastain <mec dot gnu at mindspring dot com>
- Cc: kettenis at chello dot nl, gdb-patches at sources dot redhat dot com
- Date: Sat, 8 May 2004 11:16:27 -0400
- Subject: Re: [patch] configure.in: revert osf5.1 no-noncurses special case
- References: <20040508001135.466384B104@berman.michael-chastain.com>
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