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() }}
|
{{ super() }}
|
||||||
ccflags = $ccflags $
|
ccflags = $ccflags $
|
||||||
-I${srcroot}/src/include $
|
-I${srcroot}/src/include $
|
||||||
-I${srcroot}/src/include/x86_64
|
-I${srcroot}/src/include/x86_64 $
|
||||||
|
-fcolor-diagnostics
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block baserules %}
|
{% block baserules %}
|
||||||
|
|||||||
Reference in New Issue
Block a user