mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Change LinkTimeOptimizer.h install location.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44477 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a45fa9348
commit
57c4fc2e23
@ -167,13 +167,15 @@ cd $DEST_DIR$DEST_ROOT
|
||||
lipo -extract ppc -extract i386 lib/LLVMlto.0.0.0.so -output lib/LLVMlto.0.0.0.so
|
||||
|
||||
# LTO is part of developer tools
|
||||
LTO_HOME=$DEST_DIR//Developer/usr/lib
|
||||
LTO_HOME=$DEST_DIR//Developer/usr
|
||||
if [ "x$DEVELOPER_BIN" != "x" ]; then
|
||||
LTO_HOME=$DEST_DIR/$DEVELOPER_DIR/usr/lib
|
||||
LTO_HOME=$DEST_DIR/$DEVELOPER_DIR/usr
|
||||
fi
|
||||
|
||||
mkdir -p $LTO_HOME
|
||||
mv lib/LLVMlto* $LTO_HOME/.
|
||||
mkdir -p $LTO_HOME/lib
|
||||
mv lib/LLVMlto* $LTO_HOME/lib/.
|
||||
mkdir -p $LTO_HOME/include/llvm
|
||||
mv $DEST_DIR/usr/local/include/llvm/LinkTimeOptimizer.h $LTO_HOME/include/llvm/.
|
||||
|
||||
################################################################################
|
||||
# Create SYM_DIR with information required for debugging.
|
||||
|
Loading…
x
Reference in New Issue
Block a user