mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-06 14:05:21 -04:00
Colorize compiler output on linux
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user