mesa rebuild

This commit is contained in:
Rmys
2020-11-28 10:01:17 +03:00
committed by GitHub
parent 5b290c8286
commit f4a9e9c128
+7 -7
View File
@@ -48,18 +48,18 @@ def setup():
if get.buildTYPE() == "emul32":
options += " -Dlmsensors=disabled --native-file crossfile.ini -Dllvm_libdir=/usr/lib32 -Dzstd=disabled"
shelltools.export("CC", "clang -m32")
shelltools.export("CXX", "clang++ -m32")
#shelltools.export("CC", "gcc -m32")
#shelltools.export("CXX", "g++ -m32")
#shelltools.export("CC", "clang -m32")
#shelltools.export("CXX", "clang++ -m32")
shelltools.export("CC", "gcc -m32")
shelltools.export("CXX", "g++ -m32")
shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig")
shelltools.export("LLVM_CONFIG","/usr/bin/llvm-config-32")
else:
shelltools.export("CC", "clang")
shelltools.export("CXX", "clang++")
#shelltools.export("CC", "clang")
#shelltools.export("CXX", "clang++")
options += " -Dgallium-omx=bellagio -Dlmsensors=enabled -Dzstd=enabled"
pisitools.ldflags.add("-fuse-ld=lld")
#pisitools.ldflags.add("-fuse-ld=lld")
mesontools.configure(options)
def build():