gdb distclean : arg list too long
Ian Lance Taylor
ian@cygnus.com
Mon Apr 6 08:59:00 GMT 1998
Date: Sat, 4 Apr 1998 08:16:19 +0200 (MET DST)
From: "Philippe De Muyter" <phdm@macqel.be>
On m68k-motorola-sysv, gdb-4.18.97 fails for gnumake distclean with
do-distclean : arg list too long
Here is a patch.
Sat Apr 4 07:45:45 1998 Philippe De Muyter <phdm@macqel.be>
* Makefile.in (EXTRA_GCC_FLAGS): Useless XFOO=bar definitions removed.
Unfortunately, this patch fails when using GNU make. This patch will
result in passing an empty string to make, and GNU make will report
make: *** empty string invalid as file name. Stop.
We need to be able to quote the the LANGUAGES line, or it won't work
if there are spaces. Because of how shell quoting works, we need to
quote the entire backquoted expression. That in turns implies that we
need to have something in the string, or make won't like it.
Of course this line doesn't matter for a gdb release, but it does
matter for an egcs release.
I don't see a simple solution at this point. We could save a few
characters here and there by using [ -n ] and changing XFOO=bar to
x=y. Would that be enough to make a difference on your host?
Ian
More information about the Gdb-patches
mailing list