diff options
author | Sam James <sam@gentoo.org> | 2024-06-23 01:31:49 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-06-23 01:31:49 +0100 |
commit | 4f2d0ee0d8bd592715e0997bfd3a1d4574c89ab0 (patch) | |
tree | 60ea8c0fbccc9f27bd433cdd552103171ba25250 /media-libs/roc-toolkit/files | |
parent | net-print/cups: backport test fix to 2.4.7-r2 (diff) | |
download | gentoo-4f2d0ee0d8bd592715e0997bfd3a1d4574c89ab0.tar.gz gentoo-4f2d0ee0d8bd592715e0997bfd3a1d4574c89ab0.tar.bz2 gentoo-4f2d0ee0d8bd592715e0997bfd3a1d4574c89ab0.zip |
media-libs/roc-toolkit: rebase build system patch
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/roc-toolkit/files')
-rw-r--r-- | media-libs/roc-toolkit/files/roc-toolkit-0.4.0-dont-force-O3.patch | 22 |
1 files changed, 22 insertions, 0 deletions
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: [ |