Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* Add CONFIG_SHELL=$(SHELL) to the environment when invoking genmultilib. Due to substitutions made by associated configure scripts, the make variable $(SHELL) will actually refer to the environment variable ${CONFIG_SHELL}.
This commit is contained in:
parent
f90c5ef1d5
commit
cb575a16ce
1
gnu/dist/gcc/gcc/Makefile.in
vendored
1
gnu/dist/gcc/gcc/Makefile.in
vendored
@ -1093,6 +1093,7 @@ multilib.h: s-mlib; @true
|
||||
s-mlib: $(srcdir)/genmultilib Makefile
|
||||
if test @enable_multilib@ = yes \
|
||||
|| test -n "$(MULTILIB_OSDIRNAMES)"; then \
|
||||
CONFIG_SHELL="$(SHELL)" \
|
||||
$(SHELL) $(srcdir)/genmultilib \
|
||||
"$(MULTILIB_OPTIONS)" \
|
||||
"$(MULTILIB_DIRNAMES)" \
|
||||
|
1
gnu/dist/gcc4/gcc/Makefile.in
vendored
1
gnu/dist/gcc4/gcc/Makefile.in
vendored
@ -1393,6 +1393,7 @@ multilib.h: s-mlib; @true
|
||||
s-mlib: $(srcdir)/genmultilib Makefile
|
||||
if test @enable_multilib@ = yes \
|
||||
|| test -n "$(MULTILIB_OSDIRNAMES)"; then \
|
||||
CONFIG_SHELL="$(SHELL)" \
|
||||
$(SHELL) $(srcdir)/genmultilib \
|
||||
"$(MULTILIB_OPTIONS)" \
|
||||
"$(MULTILIB_DIRNAMES)" \
|
||||
|
Loading…
Reference in New Issue
Block a user