hack backquoted command in Makefile.in to always have zero exit status
authorKen Raeburn <raeburn@cygnus>
Thu, 3 Jun 1993 18:16:02 +0000 (18:16 +0000)
committerKen Raeburn <raeburn@cygnus>
Thu, 3 Jun 1993 18:16:02 +0000 (18:16 +0000)
binutils/ChangeLog
binutils/Makefile.in

index 7a1879d5eb199c41b1e5fc0af8cff660e16e9787..65c8e52b58227c744a8e59b90c0434ede900b278 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jun  3 14:05:57 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * Makefile.in (underscore.c): Hack the backquoted command so it
+       doesn't cause Solaris make to bomb.
+
 Thu Jun  3 10:40:19 1993  Jeffrey Osier  (jeffrey@cygnus.com)
 
        * Makefile.in:  added c++filt and objcopy to MANPAGES variable
index 3d371925c8480e51c9e327195f8ee45dcdc105eb..ee325fd411fc7c534327153cb87dc0da18fa3023 100644 (file)
@@ -202,7 +202,7 @@ underscore.c:
        echo "int xxy_us_dummy;" >dummy.c
        $(CC) -c dummy.c
        echo '/*WARNING: This file is automatically generated!*/' >underscore.c
-       if [ "`$(NM) dummy.o | grep _xxy_us_dummy`" != "" ]; then \
+       if [ "`$(NM) dummy.o | grep _xxy_us_dummy ; true`" != "" ]; then \
          echo "int prepends_underscore = 1;" >>underscore.c; \
        else \
          echo "int prepends_underscore = 0;" >>underscore.c; \