mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-18 21:03:32 +02:00
...
This commit is contained in:
parent
37ac52ad32
commit
6e9afc0398
1 changed files with 3 additions and 2 deletions
|
|
@ -303,9 +303,10 @@ def preflight(self, obj_dir, compiler, linker, builder, cflags, ldflags):
|
|||
if isunix:
|
||||
cc = os.environ.get('CC', 'gcc')
|
||||
cxx = os.environ.get('CXX', 'g++')
|
||||
debug = ''
|
||||
# debug = '-ggdb'
|
||||
cflags = os.environ.get('OVERRIDE_CFLAGS',
|
||||
# '-Wall -DNDEBUG -ggdb -fno-strict-aliasing -pipe')
|
||||
'-Wall -DNDEBUG -fno-strict-aliasing -pipe')
|
||||
'-Wall -DNDEBUG %s -fno-strict-aliasing -pipe' % debug)
|
||||
cflags = shlex.split(cflags) + ['-fPIC']
|
||||
ldflags = os.environ.get('OVERRIDE_LDFLAGS', '-Wall')
|
||||
ldflags = shlex.split(ldflags)
|
||||
|
|
|
|||
Loading…
Reference in a new issue