mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 09:03:43 +02:00
Colorize compiler output on linux
This commit is contained in:
parent
dd12f0a76e
commit
5a1b4430b2
1 changed files with 2 additions and 0 deletions
|
|
@ -173,6 +173,8 @@ def init_env():
|
|||
|
||||
if islinux:
|
||||
cflags.append('-pthread')
|
||||
if sys.stdout.isatty():
|
||||
cflags.append('-fdiagnostics-color=always')
|
||||
ldflags.append('-shared')
|
||||
|
||||
if isbsd:
|
||||
|
|
|
|||
Loading…
Reference in a new issue