This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[PATCH] */Makefile.in should all use @SHELL@, not /bin/sh
Op ma 20-05-2002, om 14:02 schreef Alexandre Oliva:
> On May 20, 2002, Steven Bosscher <s.bosscher@student.tudelft.nl> wrote:
>
> > Index: gcc/Makefile.in
>
> If you have really tested this and verified that it works for make
> from the top level and from within the gcc sub-directory, please post
> it to gcc-patches and I'll approve it.
I just completed a bootstrap of all except Ada with this patch
(i586-pc-linux-gnu, default shell is bash). I would do more testing if
my computer (old Pentium :-/ ) wouldn't need half a day to build GCC. I
think the patch is OK, but it probably does need a bit more testing, so
maybe someone else could have a look at it (e.g. on solaris)...
Greetz
Steven
* Makefile.in (SHELL): Set to @SHELL@.
* libobjc/Makefile.in (SHELL): Likewise.
Index: gcc/Makefile.in
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.877
diff -u -r1.877 Makefile.in
--- gcc/Makefile.in 20 May 2002 07:22:27 -0000 1.877
+++ gcc/Makefile.in 20 May 2002 11:38:59 -0000
@@ -111,7 +111,7 @@
AR_FLAGS = rc
DLLTOOL = dlltool
RANLIB = @RANLIB@
-SHELL = /bin/sh
+SHELL = @SHELL@
# pwd command to use. Allow user to override default by setting PWDCMD in
# the environment to account for automounters. The make variable must not
# be called PWDCMD, otherwise the value set here is passed to make
Index: libobjc/Makefile.in
===================================================================
RCS file: /cvsroot/gcc/gcc/libobjc/Makefile.in,v
retrieving revision 1.20
diff -u -r1.20 Makefile.in
--- libobjc/Makefile.in 11 Feb 2002 18:10:05 -0000 1.20
+++ libobjc/Makefile.in 20 May 2002 11:39:01 -0000
@@ -22,7 +22,7 @@
#Makefile.in files. Some of this stuff may be unnecessary and
#worthless.
-SHELL = /bin/sh
+SHELL = @SHELL@
MAKEOVERRIDES=
#### Start of system configuration section. ####