[m-rev.] diff: avoid linker warnings on recent versions of Mac OS X

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Nov 6 18:22:15 AEDT 2012


Branches: main, 12.08

Avoid a linker warning on Mac OS X 10.7 and 10.8.

configure.in:
 	Don't pass -s to the linker on all versions of Darwin.
 	It has been deprecated for several versions.

Julien.

Index: configure.in
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/configure.in,v
retrieving revision 1.617
diff -u -r1.617 configure.in
--- configure.in	10 Sep 2012 13:46:56 -0000	1.617
+++ configure.in	6 Nov 2012 07:10:07 -0000
@@ -1091,7 +1091,7 @@
      # it and has no effect other than causing the linker to emit a warning.
      #
      case "$host" in
-        *apple*darwin*9*|*apple*darwin*10*)
+        *apple*darwin*)
              LD_STRIP_FLAG=""
              ;;
      esac



More information about the reviews mailing list