[llvm-commits] [llvm-gcc-4.2] r97668 - /llvm-gcc-4.2/trunk/build_gcc
Eric Christopher
echristo at apple.com
Wed Mar 3 13:47:47 PST 2010
Author: echristo
Date: Wed Mar 3 15:47:47 2010
New Revision: 97668
URL: http://llvm.org/viewvc/llvm-project?rev=97668&view=rev
Log:
Remove unwind.h a different way - post install.
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=97668&r1=97667&r2=97668&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Wed Mar 3 15:47:47 2010
@@ -773,6 +773,12 @@
ln -s /Developer/usr/bin/llvm-g++-4.2 llvm-g++-4.2
fi
fi
+
+# Remove unwind.h from the install directory for > 10.6
+if [ $DARWIN_VERS -gt 10 ]; then
+ find $DEST_DIR -name "unwind.h" -print | xargs rm || exit 1
+fi
+
# LLVM LOCAL end
find $DEST_DIR -name \*.dSYM -print | xargs rm -r || exit 1
More information about the llvm-commits
mailing list