diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-06-23 22:08:30 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-06-23 22:08:30 +0000 |
commit | 8d3f36f05cb97efb1cc24a5c64d6c792651cd897 (patch) | |
tree | bb5e778d9f0b36f3934abb1147b4b917dfafbdde /utils | |
parent | 2904538fc30fbdc2788802ca7389482d5e20a717 (diff) | |
download | llvm-8d3f36f05cb97efb1cc24a5c64d6c792651cd897.tar.gz llvm-8d3f36f05cb97efb1cc24a5c64d6c792651cd897.tar.bz2 llvm-8d3f36f05cb97efb1cc24a5c64d6c792651cd897.tar.xz |
Extract the x86_64 part for the executables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52647 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/buildit/build_llvm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm index 6ccff46ba8..4ef7fb5401 100755 --- a/utils/buildit/build_llvm +++ b/utils/buildit/build_llvm @@ -173,21 +173,19 @@ rm bin/.dir etc/llvm/.dir lib/.dir # Remove PPC64 fat slices. cd $DEST_DIR$DEST_ROOT/bin - if [ $MACOSX_DEPLOYMENT_TARGET = "10.4" ]; then find . -perm 755 -type f -exec lipo -extract ppc -extract i386 {} -output {} \; -else +elif [ $MACOSX_DEPLOYMENT_TARGET = "10.5" ]; then find . -perm 755 -type f -exec lipo -extract ppc7400 -extract i386 {} -output {} \; +else + find . -perm 755 -type f -exec lipo -extract ppc7400 -extract i386 -extract x86_64 {} -output {} \; fi cd $DEST_DIR$DEST_ROOT - mkdir -p $DT_HOME/lib mv lib/libLTO.dylib $DT_HOME/lib/libLTO.dylib rm -f lib/libLTO.a lib/libLTO.la - - ################################################################################ # Create SYM_DIR with information required for debugging. |