This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Move info and gmo files to objdir
Daniel Jacobowitz wrote:
> On Mon, Dec 11, 2006 at 09:53:15PM -0800, Khem Raj wrote:
> >
> > On Dec 11, 2006, at 7:35 AM, Daniel Jacobowitz wrote:
> >
> > >On Wed, Dec 06, 2006 at 10:44:33PM -0500, Daniel Jacobowitz wrote:
> > >>Does anyone see any problems with this patch? I verified that
> > >>binutils
> > >>builds, that it does not write to the srcdir, and that distribution
> > >>tarballs still include info and gmo files. We don't need the extra
> > >>configure switch used by GCC; src-release's current trick of
> > >>configuring in srcdir and making distclean but not maintainer-clean
> > >>handles this correctly.
> > >
> > >Committed; let me know if it breaks anything, please.
> >
> > I am missing gprof.info in the install tree now.
>
> Another fragile automake construct bites the dust. It should be fixed
> now.
I also need this now to avoid a build failure for gas. It's mindlessly
copied from binutils/ld, does it make sense?
Thiemo
2006-12-12 Thiemo Seufer <ths@mips.com>
* Makefile.am (YFLAGS): Define as -d.
* Makefile.in: Regenerate.
Index: gas/Makefile.am
===================================================================
--- gas/Makefile.am 2006-11-15 16:52:15.000000000 +0000
+++ gas/Makefile.am 2006-12-12 13:19:21.000000000 +0000
@@ -10,6 +10,7 @@
tooldir = $(exec_prefix)/$(target_alias)
YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo @YACC@ ; fi`
+YFLAGS = -d
LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo @LEX@ ; fi`
WARN_CFLAGS = @WARN_CFLAGS@