public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libplacebo] rawhide: Build without libunwind by default
@ 2026-10-26 18:04 Arjun Shankar
  0 siblings, 0 replies; only message in thread
From: Arjun Shankar @ 2026-10-26 18:04 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/libplacebo
            Branch : rawhide
            Commit : 5b238e40deecddccbc621d10168cd23bd1488c0f
            Author : Arjun Shankar <arjun@redhat.com>
            Date   : 2026-10-22T16:07:12+02:00
            Stats  : +10/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/libplacebo/c/5b238e40deecddccbc621d10168cd23bd1488c0f?branch=rawhide

            Log:
            Build without libunwind by default

libunwind is not compatible with Shadow Stack support [1], and building
without it still retains the ability to get stack traces via glibc.

Disable building with libunwind by default.  Building with libunwind is
still possible via '--with unwind'.

[1] https://fedoraproject.org/wiki/Changes/ShadowStack

---
diff --git a/libplacebo.spec b/libplacebo.spec
index 4d0f776..503bd50 100644
--- a/libplacebo.spec
+++ b/libplacebo.spec
@@ -1,3 +1,5 @@
+%bcond_with unwind
+
 #global prerelease -rc1
 
 Name:           libplacebo
@@ -16,7 +18,9 @@ BuildRequires:  glad2
 BuildRequires:  lcms2-devel
 BuildRequires:  libdovi-devel
 BuildRequires:  libepoxy-devel
+%if %{with unwind}
 BuildRequires:  libunwind-devel
+%endif
 BuildRequires:  libshaderc-devel
 BuildRequires:  python3-devel
 BuildRequires:  python3-jinja2
@@ -58,7 +62,12 @@ developing applications that use %{name}.
 %build
 %meson \
  -Dd3d11=disabled \
- -Ddemos=False
+ -Ddemos=False \
+%if %{with unwind}
+ -Dunwind=enabled
+%else
+ -Dunwind=disabled
+%endif
 
 %meson_build
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-26 18:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-26 18:04 [rpms/libplacebo] rawhide: Build without libunwind by default Arjun Shankar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox