[llvm-commits] [llvm-gcc-4.2] r106719 - /llvm-gcc-4.2/trunk/build_gcc
Bob Wilson
bob.wilson at apple.com
Wed Jun 23 19:40:30 PDT 2010
Author: bwilson
Date: Wed Jun 23 21:40:30 2010
New Revision: 106719
URL: http://llvm.org/viewvc/llvm-project?rev=106719&view=rev
Log:
Partially revert 103367 so that we continue installing a copy of libstdc++.dylib
for ARM builds. This is a temporary solution until we can get a copy of
the library installed in the right place. Radar 8114627.
Modified:
llvm-gcc-4.2/trunk/build_gcc
Modified: llvm-gcc-4.2/trunk/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/build_gcc?rev=106719&r1=106718&r2=106719&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Wed Jun 23 21:40:30 2010
@@ -552,8 +552,18 @@
done
# APPLE LOCAL end native compiler support
-# LLVM LOCAL remove libstdc++ copying
-
+if [ $BUILD_CXX -eq 1 ]; then
+for t in $TARGETS ; do
+ if [ "$t" == 'arm' ] ; then
+ cp -p $ARM_SYSROOT/usr/lib/libstdc++.6.dylib \
+ .$DEST_ROOT/lib/gcc/$t-apple-darwin$DARWIN_VERS/$VERS/libstdc++.dylib \
+ || exit 1
+ # LLVM LOCAL remove libstdc++ copying for non-ARM targets
+ fi
+# LLVM LOCAL
+# strip -x -c .$DEST_ROOT/lib/gcc/$t-apple-darwin$DARWIN_VERS/$VERS/libstdc++.dylib || exit 1
+done
+fi
# include
HEADERPATH=$DEST_ROOT/include/gcc/darwin/$MAJ_VERS
More information about the llvm-commits
mailing list