public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Arjun Shankar <arjun@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libplacebo] rawhide: Build without libunwind by default
Date: Mon, 26 Oct 2026 18:04:09 GMT [thread overview]
Message-ID: <179303784922.1.8414666778433219690.rpms-libplacebo-5b238e40deec@fedoraproject.org> (raw)
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
reply other threads:[~2026-10-26 18:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179303784922.1.8414666778433219690.rpms-libplacebo-5b238e40deec@fedoraproject.org \
--to=arjun@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox