llvm 10.0.0 fix

This commit is contained in:
idriskalp
2020-03-25 23:17:40 +03:00
parent 44e7fe505f
commit aff306bbc2
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -13,9 +13,12 @@ libdir = "/usr/lib32/llvm" if get.buildTYPE() == "emul32" else "/usr/lib/llvm"
lib = "lib32" if get.buildTYPE() == "emul32" else "lib"
libsuffix = "32" if get.buildTYPE() == "emul32" else ""
NoStrip = ["/usr/lib/clang/%s/lib/linux" % get.srcVERSION()]
def setup():
#pisitools.ldflags.add("-fuse-ld=lld")
pisitools.ldflags.add(" --rtlib=libgcc --unwindlib=libgcc")
if get.buildTYPE() != "emul32":
if not shelltools.can_access_directory("tools/clang"):
@@ -83,7 +86,6 @@ def setup():
-DFFI_INCLUDE_DIR=/usr/lib/libffi-3.2.1/include \
-DCOMPILER_RT_USE_LIBCXX=OFF \
-DLIBOMP_USE_HIER_SCHED=ON \
-DCLANG_DEFAULT_UNWINDLIB=libunwind \
-DENABLE_SHARED=ON" % (options), sourceDir=".." )
def build():
+1
View File
@@ -205,6 +205,7 @@
<Path fileType="executable">/usr/bin/c-index-test</Path>
<Path fileType="executable">/usr/bin/tblgen</Path>
<Path fileType="library">/usr/lib/libclang*</Path>
<Path fileType="library">/usr/lib/clang/</Path>
<!-- <Path fileType="library">/usr/lib/liblldbPluginExpressionParserClang.a</Path> -->
<!-- <Path fileType="library">/usr/lib/liblldbPluginObjCLanguage.a</Path> -->
<Path fileType="man">/usr/share/man/man1/clang.1</Path>