diff options
author | Mark Geisert <mark@maxrnd.com> | 2020-12-06 22:17:15 -0800 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2020-12-07 10:37:32 +0100 |
commit | 58ac5f985c926bfd1b9efbf1a430e826fe3b668c (patch) | |
tree | 03f8a217b91fa1fa385a3403329eb3b5ce1d7ef2 /winsup | |
parent | 6c9c37d0a907eabd9df89e94536167d39802e48e (diff) | |
download | newlib-58ac5f985c926bfd1b9efbf1a430e826fe3b668c.zip newlib-58ac5f985c926bfd1b9efbf1a430e826fe3b668c.tar.gz newlib-58ac5f985c926bfd1b9efbf1a430e826fe3b668c.tar.bz2 |
Cygwin: Launch cygmagic with bash, not sh
On some systems /bin/sh is not /bin/bash and cygmagic has bash-isms in
it. So even though cygmagic has a /bin/bash shebang, it also needs to be
launched with bash from within Makefile.in.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index b15c746..a840f2b 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -683,10 +683,10 @@ globals.h: mkglobals_h globals.cc ${DLL_OFILES} ${LIBCOS}: globals.h $(srcdir)/$(TLSOFFSETS_H) shared_info_magic.h: cygmagic shared_info.h - /bin/sh $(word 1,$^) $@ "${COMPILE.cc} -E -x c++" $(word 2,$^) SHARED_MAGIC 'class shared_info' USER_MAGIC 'class user_info' + /bin/bash $(word 1,$^) $@ "${COMPILE.cc} -E -x c++" $(word 2,$^) SHARED_MAGIC 'class shared_info' USER_MAGIC 'class user_info' child_info_magic.h: cygmagic child_info.h - /bin/sh $(word 1,$^) $@ "${COMPILE.cc} -E -x c++" $(word 2,$^) CHILD_INFO_MAGIC 'class child_info' + /bin/bash $(word 1,$^) $@ "${COMPILE.cc} -E -x c++" $(word 2,$^) CHILD_INFO_MAGIC 'class child_info' dcrt0.o sigproc.o: child_info_magic.h |