mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 20:46:19 +01:00
Optimize the regex module to only 2 not 3
This commit is contained in:
parent
4ed9aa6380
commit
51c66e2a96
1 changed files with 2 additions and 1 deletions
|
|
@ -81,7 +81,8 @@ def preflight(self, obj_dir, compiler, linker, builder, cflags, ldflags):
|
|||
|
||||
Extension('_regex',
|
||||
['regex/_regex.c', 'regex/_regex_unicode.c'],
|
||||
headers=['regex/_regex.h']
|
||||
headers=['regex/_regex.h'],
|
||||
optimize_level=2,
|
||||
),
|
||||
|
||||
Extension('speedup',
|
||||
|
|
|
|||
Loading…
Reference in a new issue