clang: avoid file conflicts with llvm

This commit is contained in:
Thomas Penteker 2015-11-30 01:45:51 +01:00
parent c56983b275
commit b95f095b2c
2 changed files with 3 additions and 20 deletions

View File

@ -574,23 +574,3 @@ drwxr-xr-x root/root usr/lib/clang/3.7.0/include/
-rwxr-xr-x root/root usr/lib/libclangStaticAnalyzerFrontend.a
-rwxr-xr-x root/root usr/lib/libclangTooling.a
-rwxr-xr-x root/root usr/lib/libclangToolingCore.a
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/llvm/
drwxr-xr-x root/root usr/share/llvm/cmake/
-rw-r--r-- root/root usr/share/llvm/cmake/AddLLVM.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/AddLLVMDefinitions.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/AddOCaml.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/AddSphinxTarget.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/ChooseMSVCCRT.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/CrossCompile.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/FindOCaml.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/FindSphinx.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/GetSVN.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/HandleLLVMOptions.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/HandleLLVMStdlib.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/LLVM-Config.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/LLVMConfig.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/LLVMConfigVersion.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/LLVMExports.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/LLVMProcessSources.cmake
-rw-r--r-- root/root usr/share/llvm/cmake/TableGen.cmake

View File

@ -39,4 +39,7 @@ build() {
rm -r $PKG/usr/include/llvm{,-c}
rm $PKG/usr/bin/{bugpoint,ll*,macho-dump,opt,FileCheck,count,not,obj2yaml,verify-uselistorder,yaml2obj}
rm $PKG/usr/lib/{LLVMHello.so,BugpointPasses.so,libLTO.*,libLLVM*}
# avoid conflicts with opt/llvm
rm -r $PKG/usr/share/llvm
}