You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/mypaint/files/mypaint-2.0.1-r1-build-syst...

23 lines
638 B

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 = []