mesa: build without libunwind and valgrind
authorDaniel Golle <daniel@makrotopia.org>
Sat, 7 Dec 2024 01:07:58 +0000 (01:07 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 7 Dec 2024 01:45:29 +0000 (01:45 +0000)
Configure build to never link against libunwind or valgrind.
Prevents accidental linkage against those libraries in case they are
present.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
libs/mesa/Makefile

index 6ea39cc12c22ce7abb1c9a9f4a669bb8acf6399c..a5b237996591d32f4c437c050a1a26c5f86c591b 100644 (file)
@@ -507,6 +507,8 @@ MESON_HOST_ARGS += \
        -Dglvnd=disabled \
        -Dopengl=false \
        -Dandroid-stub=false \
+       -Dlibunwind=disabled \
+       -Dvalgrind=disabled \
        -Dgallium-drivers= \
        -Dvulkan-drivers= \
        -Dosmesa=false \
@@ -530,6 +532,8 @@ MESON_ARGS += \
        -Dglvnd=disabled \
        -Dopengl=true \
        -Dandroid-stub=false \
+       -Dlibunwind=disabled \
+       -Dvalgrind=disabled \
        -Dtools= \
        -Dllvm=$(if $(MESA_USE_LLVM),en,dis)abled \
        -Dshared-glapi=enabled \