mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Colorize compiler output on linux
This commit is contained in:
parent
dd12f0a76e
commit
5a1b4430b2
@ -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…
x
Reference in New Issue
Block a user