* [gentoo-commits] repo/gentoo:master commit in: media-libs/roc-toolkit/files/, media-libs/roc-toolkit/
@ 2024-06-23 0:33 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2024-06-23 0:33 UTC (permalink / raw
To: gentoo-commits
commit: 4f2d0ee0d8bd592715e0997bfd3a1d4574c89ab0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 23 00:31:49 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 23 00:31:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f2d0ee0
media-libs/roc-toolkit: rebase build system patch
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/roc-toolkit-0.4.0-dont-force-O3.patch | 22 ++++++++++++++++++++++
media-libs/roc-toolkit/roc-toolkit-0.4.0.ebuild | 2 +-
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/media-libs/roc-toolkit/files/roc-toolkit-0.4.0-dont-force-O3.patch b/media-libs/roc-toolkit/files/roc-toolkit-0.4.0-dont-force-O3.patch
new file mode 100644
index 000000000000..7f069ffbd0da
--- /dev/null
+++ b/media-libs/roc-toolkit/files/roc-toolkit-0.4.0-dont-force-O3.patch
@@ -0,0 +1,22 @@
+--- a/SConstruct
++++ b/SConstruct
+@@ -972,7 +972,6 @@ if meta.compiler in ['gcc', 'clang']:
+ for var in ['CXXFLAGS', 'CFLAGS']:
+ env.Append(**{var: [
+ '-fvisibility=hidden',
+- '-O3',
+ ]})
+
+ if meta.compiler == 'gcc' and meta.compiler_ver[:2] < (4, 6):
+@@ -990,10 +989,7 @@ if meta.compiler in ['cc']:
+ '-g',
+ ]})
+ else:
+- for var in ['CXXFLAGS', 'CFLAGS']:
+- env.Append(**{var: [
+- '-O3',
+- ]})
++ pass
+
+ for var in ['CXXFLAGS', 'CFLAGS']:
+ conf.env.Append(**{var: [
diff --git a/media-libs/roc-toolkit/roc-toolkit-0.4.0.ebuild b/media-libs/roc-toolkit/roc-toolkit-0.4.0.ebuild
index 491eb7526b31..9fcb5e25b045 100644
--- a/media-libs/roc-toolkit/roc-toolkit-0.4.0.ebuild
+++ b/media-libs/roc-toolkit/roc-toolkit-0.4.0.ebuild
@@ -39,7 +39,7 @@ BDEPEND="
"
PATCHES=(
- "${FILESDIR}"/${PN}-0.2.5-dont-force-O3.patch
+ "${FILESDIR}"/${PN}-0.4.0-dont-force-O3.patch
)
src_prepare() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-23 0:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-23 0:33 [gentoo-commits] repo/gentoo:master commit in: media-libs/roc-toolkit/files/, media-libs/roc-toolkit/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox