-
-
Save reporter123/9eabff6b30a9527fd34a293553bca6da to your computer and use it in GitHub Desktop.
Work around to enable color output when using ccache + update-altertentives with clang.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
cc.debian -fdiagnostics-color=auto $* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Debian systems dpkg-divert must be used to diver /usr/bin/cc to /usr/bin/cc.debian and /usr/bin/c++ to /usr/bin/c++.debian
This allows seamless integration and keeps the script from being replaced during updates.