def _set_cflags(self):
    c = self.compiler.compiler_type
    jpypeLib = [i for i in self.extensions if (i.name == '_jpype')][0]
    if ((c == 'unix') and self.distribution.enable_coverage):
        jpypeLib.extra_compile_args.extend(['-ggdb', '--coverage', '-ftest-coverage'])
        jpypeLib.extra_compile_args = [('-O0' if (x == '-O2') else x) for x in jpypeLib.extra_compile_args]
        jpypeLib.extra_link_args.extend(['--coverage'])
    if ((c == 'unix') and self.distribution.enable_tracing):
        jpypeLib.extra_compile_args = [('-O0' if (x == '-O2') else x) for x in jpypeLib.extra_compile_args]
def _set_cflags(self):
    c = self.compiler.compiler_type
    jpypeLib = [i for i in self.extensions if (i.name == '_jpype')][0]
    if ((c == 'unix') and self.distribution.enable_coverage):
        jpypeLib.extra_compile_args.extend(['-ggdb', '--coverage', '-ftest-coverage'])
        jpypeLib.extra_compile_args = [('-O0' if (x == '-O2') else x) for x in jpypeLib.extra_compile_args]
        jpypeLib.extra_link_args.extend(['--coverage'])
    if ((c == 'unix') and self.distribution.enable_tracing):
        jpypeLib.extra_compile_args = [('-O0' if (x == '-O2') else x) for x in jpypeLib.extra_compile_args]