tce-load -i compiletc python3.6 re2c https://github.com/ninja-build/ninja/archive/v1.10.0/ninja-1.10.0.tar.gz cd ninja-1.10.0 edit configure.py cflags = ['-flto', '-fuse-linker-plugin', '-mtune=generic', '-Wall', '-Wextra', cflags += ['-Os', '-DNDEBUG'] python3.6 ./configure.py --bootstrap --verbose sudo install -m755 ninja /usr/local/bin/ sudo install -Dm644 misc/bash-completion /usr/local/share/bash-completion/completions/ninja sudo install -Dm644 misc/zsh-completion /usr/local/share/zsh/site-functions/_ninja