summaryrefslogtreecommitdiffstats
path: root/config/gnu-cxxflags
diff options
context:
space:
mode:
Diffstat (limited to 'config/gnu-cxxflags')
-rw-r--r--config/gnu-cxxflags9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/gnu-cxxflags b/config/gnu-cxxflags
index 0b48bdf..6189db6 100644
--- a/config/gnu-cxxflags
+++ b/config/gnu-cxxflags
@@ -144,6 +144,15 @@ if test "X-g++" = "X-$cxx_vendor"; then
DEBUG_CXXFLAGS="-ftrapv -fno-common"
fi
+ ########################
+ # Enhanced Diagnostics #
+ ########################
+
+ if test $cc_vers_major -ge 10; then
+ NO_DIAGS_CXXFLAGS="-fdiagnostics-urls=never -fno-diagnostics-color"
+ fi
+ DIAGS_CXXFLAGS=
+
###########
# Symbols #
###########