[Privoxy-devel] 0005-have-gcc-diagnostics-in-color
Lee
ler762 at protonmail.com
Thu Aug 3 17:42:31 CEST 2023
Empty Message
-------------- next part --------------
From 107b4c0b7fbe63a383ba1f09bce30f84fa8cd584 Mon Sep 17 00:00:00 2001
From: Lee <ler762 at users.sourceforge.net>
Date: Sun, 30 Jul 2023 13:56:28 -0400
Subject: [PATCH 5/9] have gcc diagnostics in color even if stderr is not going
to a terminal
---
windows/MYconfigure | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/windows/MYconfigure b/windows/MYconfigure
index c107008e..ddc9e798 100755
--- a/windows/MYconfigure
+++ b/windows/MYconfigure
@@ -38,6 +38,10 @@ export CPPFLAGS=""
export LDFLAGS=""
# start with initially empty flags
+CFLAGS="${CFLAGS} -fdiagnostics-color=always"
+# Use color in diagnostics even if stderr is not going to a terminal.
+# It's nice having warnings in color even if I run a script that does
+# 'make 2>&1 | tee log.make'
CFLAGS="${CFLAGS} -fstack-protector-strong -D_FORTIFY_SOURCE=2"
LDFLAGS="${LDFLAGS} -fstack-protector-strong"
--
2.39.0
More information about the Privoxy-devel
mailing list