commit | fd56638aed3fe147015bfa10ed4a5f7491303cb4 | [log] [tgz] |
---|---|---|
author | Mike Auty <ikelos@gentoo.org> | Fri Dec 05 00:49:13 2014 +0000 |
committer | Lucas De Marchi <lucas.demarchi@intel.com> | Wed Dec 17 00:41:01 2014 -0200 |
tree | bc6e0bfe614a3f5fb9a8dbd30fc813ede4ae87aa | |
parent | 1dd4ff56f62942243e0959c4f274bf0f1f601ae6 [diff] |
build: Do not force diagnostics-color flag The -fdiagnostics-color flag is only available on GCC >= 4.9, for older versions this could raise an error in certain circumstances (such as when using ccache). Instead, since -fdiagnostic-color=auto by default in gcc-4.9, simply set the required environment variable to the default one if it's undefined. Based mostly on the systemd commit f44541bc by Michal Schmidt.