* gcc-interface/Makefile.in (gnatlib-shared-darwin): Remove
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Sep 2011 19:21:27 +0000 (19:21 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Sep 2011 19:21:27 +0000 (19:21 +0000)
reference to "-lm".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178608 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/ada/gcc-interface/Makefile.in

index f01481c..626d3a5 100644 (file)
@@ -1,5 +1,10 @@
 2011-09-06  Iain Sandoe  <iains@gcc.gnu.org>
 
+       * gcc-interface/Makefile.in (gnatlib-shared-darwin): Remove
+       reference to "-lm".
+
+2011-09-06  Iain Sandoe  <iains@gcc.gnu.org>
+
        * gcc-interface/Makefile.in (darwin, SO_OPTS): Provide architecture
        size switches to the link phase for shared libs.
 
index db1e2d9..c9f5bf5 100644 (file)
@@ -2723,7 +2723,7 @@ gnatlib-shared-darwin:
                $(GNATRTL_NONTASKING_OBJS) $(LIBGNAT_OBJS) \
                $(SO_OPTS) \
                -Wl,-install_name,@rpath/libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
-               $(MISCLIB) -lm
+               $(MISCLIB)
        cd $(RTSDIR); `echo "$(GCC_FOR_TARGET)" \
                 | sed -e 's,\./xgcc,../../xgcc,' -e 's,-B\./,-B../../,'` -dynamiclib $(PICFLAG_FOR_TARGET) \
                -o libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \