summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-03-09 01:02:01 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-03-11 18:01:36 +0000
commit7a76c6c4df31d1ff65464ccf3171acd57ef004eb (patch)
tree1217d2de41160be657d0ad7d7c36cc11abda0ee2 /configure
parentbacc92b59bfa5d6a1f631e63e46fc1d2fb934e51 (diff)
configure: Enable colored output for gcc 4.9+
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 0042246fae..91fa9f2b29 100755
--- a/configure
+++ b/configure
@@ -4486,6 +4486,7 @@ elif enabled gcc; then
check_cflags -Werror=declaration-after-statement
check_cflags -Werror=vla
check_cflags -Werror=format-security
+ check_cflags -fdiagnostics-color=auto
enabled extra_warnings || check_disable_warning -Wno-maybe-uninitialized
elif enabled llvm_gcc; then
check_cflags -mllvm -stack-alignment=16