diff options
author | Sam James <sam@gentoo.org> | 2020-09-06 04:50:31 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-09-06 04:50:31 +0100 |
commit | 8048c4c0150f6761115dfef23be004e589f21fc3 (patch) | |
tree | bd86234187a66844ff10e03c66ceb813d27c7d2f /media-gfx/mypaint/files/mypaint-2.0.1-build-system.patch | |
parent | app-misc/datefudge: arm64 stable (bug #740582) (diff) | |
download | gentoo-8048c4c0150f6761115dfef23be004e589f21fc3.tar.gz gentoo-8048c4c0150f6761115dfef23be004e589f21fc3.tar.bz2 gentoo-8048c4c0150f6761115dfef23be004e589f21fc3.zip |
media-gfx/mypaint: tidy ebuild
* Respect CFLAGS further (was injecting -O3 -g later on for
some of the build)
* Tidy eclass usage
* Unrestrict tests (failing at present), reported upstream.
Bug: https://bugs.gentoo.org/739122
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/mypaint/files/mypaint-2.0.1-build-system.patch')
-rw-r--r-- | media-gfx/mypaint/files/mypaint-2.0.1-build-system.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-gfx/mypaint/files/mypaint-2.0.1-build-system.patch b/media-gfx/mypaint/files/mypaint-2.0.1-build-system.patch new file mode 100644 index 000000000000..63a7a5bf75ed --- /dev/null +++ b/media-gfx/mypaint/files/mypaint-2.0.1-build-system.patch @@ -0,0 +1,22 @@ +diff --git a/setup.py b/setup.py +index 670df4d..703f9d2 100644 +--- a/setup.py ++++ b/setup.py +@@ -471,9 +471,6 @@ class BuildExt (build_ext): + linkflags.extend([ + "-O0", + ]) +- else: +- linkflags.append("-O3") +- ccflags.append("-O3") + + return build_ext.build_extension(self, ext) + +@@ -869,7 +866,6 @@ def get_ext_modules(): + '-Wno-write-strings', + '-D_POSIX_C_SOURCE=200809L', + "-DNO_TESTS", # FIXME: we're building against shared libmypaint now +- '-g', # always include symbols, for profiling + ] + extra_link_args = [] + |