]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Makefile.in (LIPO_FOR_TARGET): Define.
authorGeoffrey Keating <geoffk@apple.com>
Fri, 30 Sep 2005 23:43:07 +0000 (23:43 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Fri, 30 Sep 2005 23:43:07 +0000 (23:43 +0000)
* Makefile.in (LIPO_FOR_TARGET): Define.
(STRIP_FOR_TARGET): Define.

From-SVN: r104840

gcc/ChangeLog
gcc/Makefile.in

index 9baa569fa21d129ac1155d0e9006055e0da8c43a..34561df2e8b3a87cc4c63cc06202f2541d36d2fa 100644 (file)
@@ -12,6 +12,9 @@
 
 2005-09-30  Geoffrey Keating  <geoffk@apple.com>
 
+       * Makefile.in (LIPO_FOR_TARGET): Define.
+       (STRIP_FOR_TARGET): Define.
+
        * config/t-slibgcc-darwin (libgcc_s_%.dylib): Remove old symlinks
        before creating new ones.  Do symlinks before creating the actual
        targets.
index cd6533babcb3f90c0d27b86f5029ed6fcd7d2b1b..027fa043e11a4885a605630062792f15e512baf1 100644 (file)
@@ -344,6 +344,7 @@ AR_FOR_TARGET := $(shell \
 AR_FLAGS_FOR_TARGET =
 AR_CREATE_FOR_TARGET = $(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET) rc
 AR_EXTRACT_FOR_TARGET = $(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET) x
+LIPO_FOR_TARGET = lipo
 ORIGINAL_AS_FOR_TARGET = @ORIGINAL_AS_FOR_TARGET@
 RANLIB_FOR_TARGET := $(shell \
   if [ -f $(objdir)/../binutils/ranlib ] ; then \
@@ -358,6 +359,16 @@ RANLIB_FOR_TARGET := $(shell \
 ORIGINAL_LD_FOR_TARGET = @ORIGINAL_LD_FOR_TARGET@
 ORIGINAL_NM_FOR_TARGET = @ORIGINAL_NM_FOR_TARGET@
 NM_FOR_TARGET = ./nm
+STRIP_FOR_TARGET := $(shell \
+  if [ -f $(objdir)/../binutils/strip ] ; then \
+    echo $(objdir)/../binutils/strip ; \
+  else \
+    if [ "$(host)" = "$(target)" ] ; then \
+      echo strip; \
+    else \
+       t='$(program_transform_name)'; echo strip | sed -e $$t ; \
+    fi; \
+  fi)
 
 # --------
 # UNSORTED