mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
Allow clang to colorize output in ninja
This commit is contained in:
10
scripts/parse_syms.py
Executable file
10
scripts/parse_syms.py
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
def parse_elf(filename):
|
||||
import struct
|
||||
with open(filename, 'rb') as elf:
|
||||
|
||||
if __name__ == "__main__":
|
||||
import sys
|
||||
for arg in sys.argv[1:]:
|
||||
parse_elf(arg)
|
||||
@@ -4,7 +4,8 @@
|
||||
{{ super() }}
|
||||
ccflags = $ccflags $
|
||||
-I${srcroot}/src/include $
|
||||
-I${srcroot}/src/include/x86_64
|
||||
-I${srcroot}/src/include/x86_64 $
|
||||
-fcolor-diagnostics
|
||||
{% endblock %}
|
||||
|
||||
{% block baserules %}
|
||||
|
||||
Reference in New Issue
Block a user