mesa rebuild
This commit is contained in:
@@ -48,18 +48,18 @@ def setup():
|
|||||||
|
|
||||||
if get.buildTYPE() == "emul32":
|
if get.buildTYPE() == "emul32":
|
||||||
options += " -Dlmsensors=disabled --native-file crossfile.ini -Dllvm_libdir=/usr/lib32 -Dzstd=disabled"
|
options += " -Dlmsensors=disabled --native-file crossfile.ini -Dllvm_libdir=/usr/lib32 -Dzstd=disabled"
|
||||||
shelltools.export("CC", "clang -m32")
|
#shelltools.export("CC", "clang -m32")
|
||||||
shelltools.export("CXX", "clang++ -m32")
|
#shelltools.export("CXX", "clang++ -m32")
|
||||||
#shelltools.export("CC", "gcc -m32")
|
shelltools.export("CC", "gcc -m32")
|
||||||
#shelltools.export("CXX", "g++ -m32")
|
shelltools.export("CXX", "g++ -m32")
|
||||||
shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig")
|
shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig")
|
||||||
shelltools.export("LLVM_CONFIG","/usr/bin/llvm-config-32")
|
shelltools.export("LLVM_CONFIG","/usr/bin/llvm-config-32")
|
||||||
else:
|
else:
|
||||||
shelltools.export("CC", "clang")
|
#shelltools.export("CC", "clang")
|
||||||
shelltools.export("CXX", "clang++")
|
#shelltools.export("CXX", "clang++")
|
||||||
options += " -Dgallium-omx=bellagio -Dlmsensors=enabled -Dzstd=enabled"
|
options += " -Dgallium-omx=bellagio -Dlmsensors=enabled -Dzstd=enabled"
|
||||||
|
|
||||||
pisitools.ldflags.add("-fuse-ld=lld")
|
#pisitools.ldflags.add("-fuse-ld=lld")
|
||||||
mesontools.configure(options)
|
mesontools.configure(options)
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
|
|||||||
Reference in New Issue
Block a user